Add user sessions and login

This isn't quite perfect, but gets much of the hard work done.
This commit is contained in:
Eli Ribble 2025-11-05 17:15:33 +00:00
parent e311464b51
commit 486c148bf7
No known key found for this signature in database
28 changed files with 1701 additions and 30 deletions

4
sql/user_by_username.sql Normal file
View file

@ -0,0 +1,4 @@
-- UserByUsername
SELECT * FROM user_ WHERE
username = $1 AND
password_hash_type = 'bcrypt-14';