Add a propery suspended to the user object and reject requests to all routes that require login if that property is set to true. (Just display red text saying Your account has been suspended instead of the page). Later we will also add this to the serverless functions.
Add a propery
suspended
to the user object and reject requests to all routes that require login if that property is set totrue
. (Just display red text sayingYour account has been suspended
instead of the page). Later we will also add this to the serverless functions.Ticket name:
feature/suspension