LightSwitch-表单身份验证-忘记密码链接 [英] LightSwitch - Forms Authentication - Forgot Password Link

查看:129
本文介绍了LightSwitch-表单身份验证-忘记密码链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个LightSwitch应用程序,该应用程序需要登录凭证才能访问该应用程序.那我已经完成了,但是如果用户忘记了密码,那会比什么???.登录时未提供忘记密码"的链接.我如何解决这个问题.

并预先感谢.

问候,
Sharad Soni.

I am Developing a LightSwitch Application which needs a Login Credential to Access the Application. That I had Done, but if the User Forgot the password than what ???. There is no link given of "Forgot Password" at the login time. How can I get out this problem.

And thanks in advance.

Regards,
Sharad Soni.

推荐答案

LightSwich密码已加密.这意味着,按照安全性最佳做法,它们不能被撤销,因此不可能向用户重新提供密码.相反,您要做的是使用随机密码发送一个指向用户注册时所用电子邮件地址的链接(还会更新数据库中的密码).成功使用此随机密码注册后,用户即可重置密码.
LightSwich passwords are encrypted. This means that, in line with security best practices, they cannot be reversed, so it is not possible to resupply the password to the user. What you do, instead, is send a link to the email address the user was registered against, with a random password (also updating the password in the database). The user can then reset their password once they have successfully registered with this random password.


这篇关于LightSwitch-表单身份验证-忘记密码链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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