如何在MVC 4中更改密码 [英] How to Change Pasword in MVC 4

查看:80
本文介绍了如何在MVC 4中更改密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在MVC中实现更改密码模块?

How to implement change password module in MVC?

推荐答案

如果您不使用任何外部身份验证,则可以轻松插入更改密码模块。

只要在数据库中找到用户详细信息表,一旦用户使用实体或linqTosql或使用您感兴趣的技术为该特定用户提供其用户名和新密码更新密码列
If your not using any external authentication it will be easy to insert change password module.
Just find user details table in your database,once user gives his username and new password update password column for that specific user using entity or linqTosql or using your interested technology


请参阅以下链接:

http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset [ ^ ]



http://blogs.msdn.com/b/webdev/archive/2014/01/06/implementing-custom-password-policy-using-asp-net-identity .aspx [ ^ ]



没有硬性规则需要使用Identity Framework 。

您可以构建自己的自定义密码重置方案。



参考:

如何更改Mvc 5中的密码 [ ^ ]



我希望这能帮到你。
See the following link:
http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset[^]

http://blogs.msdn.com/b/webdev/archive/2014/01/06/implementing-custom-password-policy-using-asp-net-identity.aspx[^]

There is no hard and fast rule that you need to use Identity Framework.
You can build your own custom password reset scenarios.

reference:
How to change password in Mvc 5[^]

I hope this help you.


这篇关于如何在MVC 4中更改密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆