Hello, is it possible to disable user? I don’t want to remove, just disable, so that a user can’t login or use existing sessions. Usage of such functionality: ban user for certain period of time or disable user due to expired subscription.
Thank you.
You can use before login trigger. İf user is banned or disabled, prevent login
http://docs.parseplatform.org/cloudcode/guide/#session-triggers
Very nice. Does it take care of existing sessions? Or do I have to remove opened sessions manually?
You should handle existing sessions manually.