Skip to content

Blocked users should not be able to sign in

Currently when a user is blocked they can still attempt to sign in. This will result in an update on the users table, followed by a redirect with a message along the lines of "You are blocked".

When a user is blocked they should not be allowed to sign in and trigger an update in the first place.