Commit graph

3 commits

Author SHA1 Message Date
d06a15771a 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
2025-04-21 18:36:30 +02:00
b98a890738 ```
Add user authentication with password hashing

- Integrated Argon2 for password hashing and verification
- Added bcrypt and thiserror dependencies
- Updated database schema with admin and ban flags
- Implemented user account creation and login logic
- Enhanced error handling for database operations
```
2025-04-21 17:46:22 +02:00
8df02b7a5a Add SQLite database support and user management functionality 2025-01-31 13:43:35 +01:00