2014-10-02 31 views
0

我在我的MVC 4項目中使用基本表單身份驗證。當我嘗試使用CreateUserAndAccount()方法嘗試創建新用戶時,它會在我的配置文件表(DB:SQL Server)中創建一條記錄,但密碼默認爲空。我甚至嘗試使用WebSecurity更新密碼。 ChangePassword()和WebSecurity。 GeneratePasswordResetToken()+ WebSecurity。 ResetPassword()方法沒有運氣。WebSecurity.CreateUserAndAccount用NULL密碼插入記錄?

有沒有人有過這個問題?

謝謝你的時間。 Regards, Arvind

+0

我覺得我得到的答案在這裏http://stackoverflow.com/questions/18824141/why-is-websecurity-ignoring-my-password – Arvind 2014-10-02 09:42:39

+0

,您可以關閉它,然後。 – SSA 2014-10-02 09:52:23

回答