Open
Description
I need a way to lock out a user. Not from too many login attempts. But because I want to deny them access to the site without deleting their account.
I've found you can set LockoutEnd
to a date and time in the future, and that user will not be able to log in. However, by default, users don't need to log in every time they go to the site. The site remembers their login for something like 30 days. So they would be able to continue using the site for up to 30 days!
Is there any way to lock them out immediately?
Is there any way this sort of feature could be baked in? Does this require me to write my own middleware? If so, has anyone done this already?