| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 11 days | Switch Register() and Authenticate() to sql.Tx | xengineering | |
| Using sql.Tx (database transactions) instead of a plain database has the advantage that the caller can wrap multiple library calls into one transaction. This guarantees that no database entries change between the library calls which is critical to prevent race conditions. | |||
| 2026-06-20 | Add Authenticate() | xengineering | |
| This function validates a username and password against the database. | |||
| 2026-06-20 | Format password.go | xengineering | |
| 2026-06-20 | Add Register() | xengineering | |
| This function creates a new user and sets the username and bcrypt-hashed password. | |||
