gathering / wannabe

Event-system for TG - wannabe.gathering.org
GNU General Public License v3.0
12 stars 7 forks source link

Handle soft-deleted/disabled users #34

Closed niccofyren closed 3 years ago

niccofyren commented 4 years ago

There was an existing db field for user accounts called deleted, which wasn't really taken into account most places. This PR adds checks on login to make sure these accounts are unable to login, and hides their profile page information (likely still visible several places).

Adds a cake command to enable/disable users from command line to make the feature available for ops users and during local development.

niccofyren commented 3 years ago

Did a self-review on this as well. Got rid of some merge issues and did a slight tweak to cake command documentation.