jaredatch / Disable-Users

WordPress plugin that provides the ability to disable specific user accounts.
27 stars 17 forks source link

Does it logout the disabled user? #13

Closed obilodeau closed 8 years ago

obilodeau commented 8 years ago

More a question than an issue but does this plugin logoff the user when we disable it?

Use case I have in mind is an employee that gets fired but still has his cookies and stuff from his browser. If he is disabled, will he still be logged in?

jaredatch commented 8 years ago

Sure does :)

https://github.com/jaredatch/Disable-Users/blob/master/init.php#L135