Add user sessions and login
This isn't quite perfect, but gets much of the hard work done.
This commit is contained in:
parent
e311464b51
commit
486c148bf7
28 changed files with 1701 additions and 30 deletions
4
sql/user_by_username.sql
Normal file
4
sql/user_by_username.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-- UserByUsername
|
||||
SELECT * FROM user_ WHERE
|
||||
username = $1 AND
|
||||
password_hash_type = 'bcrypt-14';
|
||||
Loading…
Add table
Add a link
Reference in a new issue