My site currently uses Asp Membership Provider for Login. For the Admin of my site, the password expires every 30 days, and when he tries to login, it redirects him to password reset page. I need to disable or lengthen the time required for the admin to reset the password.
How should I disable password expiration for admin. Did try couple of attributes in web.config MembershipProv开发者_开发知识库ider but to no avail.
Thanks.
As far as I know, password expiration is not a feature of the SqlMembershipProvider. If you're using the ActiveDirectoryMembershipProvider, I'd assume you can change it in ActiveDirectory.
Perhaps the method used in this article has been employed?
https://web.archive.org/web/20211020153411/https://www.4guysfromrolla.com/articles/070809-1.aspx
精彩评论