Base solution for your next web application
Open Closed

How to unlock host user ? #7760


User avatar
0
PMS created

Hi there,

In live site host user is locked now i have check the user related table in database but cant able to find lock related information. Can you pelase help me that how can we unloack host user.


6 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @PMS,

    You can disable lockout mechanism by unchecking the "Lockout Enabled" property for a user

    See https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Features-Angular-User-Management

  • User Avatar
    0
    maliming created
    Support Team

    You can set the user's LockoutEndDateUtc to null in the database.

  • User Avatar
    0
    PMS created

    Hi @Ryancyq & @maliming,

    This is the user interface . I want to lockout user from the database :)

    Thanks

  • User Avatar
    1
    maliming created
    Support Team

    hi PMS

    You can set the user's LockoutEndDateUtc to a utc time and IsLockoutEnabled to true in the user table of the database.

  • User Avatar
    0
    PMS created

    Okay Thanks

  • User Avatar
    0
    Jayesh created

    I tried setting LockoutEndDateUtc to null but it still doen't work. Any idea how to unlock users from the backend?