Inactiveting users
Is the 'Active' checkbox working? I tried to set off but it doesn't seems to work. The checkbox is unchecked and in the database the users column 'active' is set as false but the user is still able to log in.
Hmmm sounds like a bug, thanks for reporting. Will see if we can fix it :)
Had a little look at this, seems that there is indeed a field in the users table. But I can't see any overriding of Devise::SessionsController adding in an extra check for that field.
If you want, go ahead and submit a PR :)
@CGA1123 hi, have you started it or i could?
@sesharim feel free to start on it. You just need to create a cutom devise controller, with an extra check for User#active before allowing a sign in.
There's some helpful pointers here for how you might start off.
Hey @sesharim any updates on this?