开发者

Disable password expiration in asp.net membership provider

开发者 https://www.devze.com 2023-02-01 13:54 出处:网络
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 d

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

0

精彩评论

暂无评论...
验证码 换一张
取 消