ASP.NET 会员密码重置
这太疯狂了,我已经尝试了几个小时才能让它发挥作用。
我的客户希望能够为忘记密码的用户重置密码,他拥有的唯一参数是用户名。 他不希望用户能够自己重置密码,不,那太容易了...ARGHHHHH!
无论如何,如果有人对我如何重置某人的密码或以某种方式给他们一个新的临时密码有任何建议,我将不胜感激。
This is crazy, I have been trying for hours to get this to work.
My client wants to be able to reset password for users who have forgotten them The only parameter he has is the UserName.
He does NOT want the user to be able to reset the password themselves, no that would be too easy...ARGHHHHH!!
Anyway, if anyone has any suggestions how I could reset someones password or give them a new temp password somehow, that would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样的事情怎么样?
这是一个 链接,它与 Q& 一起执行此操作(使用上面的代码片段)。提供程序中的一项功能。
How about something like this?
Here's a link that does this (with above code snippet) in conjunction with the Q&A feature on in the provider.