密码未被接受$符号 [英] Password was not accepted $ symbol
本文介绍了密码未被接受$符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai friends,
我在asp.net 4.0中使用了默认注册控件。使用$符号更改密码后,我无法再次登录。如果我在没有$符号的情况下更改了我的密码,我可以使用新密码。任何人都可以帮我这个场景。
感谢提前。
Hai friends,
I have used default registration control in asp.net 4.0. After i change my password using $ symbol i am not able to login again. If i had change my password without $ symbol i had able to use new one. Anyone can help me for this scenario.
Thanks for advance.
推荐答案
符号我不能再次登录如果我在没有
symbol i am not able to login again. If i had change my password without
符号的情况下更改了我的密码,我可以使用新密码。任何人都可以帮助我这个场景。
感谢您提前。
symbol i had able to use new one. Anyone can help me for this scenario.
Thanks for advance.
尝试将Web.Config中的FormsAuthentication Membership部分设置为使用简单的密码模式,例如6个最小字符和0个非字母数字。
然后尝试将其更改回来。或者,如果没有,请编写一些代码以按名称获取MembershipUser并调用user.ResetPassword,并查看该方法的字符串结果。
Try setting the FormsAuthentication Membership section in Web.Config to use simple password pattern, e.g. 6 minimum characters, and 0 non-alphanumeric.
Then try changing it back. Or, failing that, Write some code to get the MembershipUser by name and call user.ResetPassword, and view the string result of that method.
这篇关于密码未被接受$符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文