Add ban check and reason retrieval for user authentication

- Introduced `check_ban` and `get_ban_reason` functions in `db::users`
- Updated client handler to enforce ban checks during login
- Added detailed logging for ban status and reasons
This commit is contained in:
Andrea Moro 2025-04-21 18:36:30 +02:00
parent b98a890738
commit d06a15771a
4 changed files with 103 additions and 1 deletions

BIN
db.sqlite

Binary file not shown.