【问题标题】:Does AspNetDB automatically reset Locked Out users?AspNetDB 会自动重置锁定的用户吗?
【发布时间】:2013-06-26 15:32:50
【问题描述】:

AspNetDB 会自动重置被锁定的用户吗?

我找不到任何说它确实的东西......只是在寻找我没有错过任何东西的确认。

【问题讨论】:

    标签: aspnetdb


    【解决方案1】:

    不,它不会自动解锁用户。您可以调用 UnlockUser 方法,但您必须实现自己的解锁时间逻辑。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-01-25
      • 2014-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多