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 ```
2 lines
61 B
SQL
2 lines
61 B
SQL
ALTER TABLE users
|
|
ADD COLUMN is_admin BOOLEAN DEFAULT FALSE;
|