简体   繁体   中英

Does AspNetDB automatically reset Locked Out users?

Does AspNetDB automatically reset Locked Out users?

I can't find anything saying it does... just looking for confirmation that I haven't missed something.

No, it doesn't automatically unlock users. There is an UnlockUser method you can call, but you have to implement your own logic on when to unlock it.

public bool UnlockAccount(MembershipUser user)
{
    return user.UnlockUser();
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM