Commit Graph

15 Commits

Author SHA1 Message Date
Maximilian
03bab76650 Fix existing auth_token check and comment fixes 2022-12-21 21:22:11 -06:00
max
18ee7b2fac Make error message more clear 2022-11-14 12:11:10 -06:00
max
35f7cb7601 Make sure a duplicate session token is never stored 2022-11-06 10:50:54 -06:00
max
2a95868d5f Log err in GetCurrentUser 2022-11-04 13:59:24 -05:00
max
bd4f9047d9 Add function to return the current user based off of the session cookie 2022-11-04 13:58:03 -05:00
Maximilian
6ddafff871 Formatting 2022-11-01 23:07:22 -05:00
Maximilian
92529640d6 Make session cookie HttpOnly and Secure 2022-11-01 17:59:18 -05:00
Maximilian
967e918df1 Properly overwrite session cookie when logging out 2022-11-01 17:31:19 -05:00
Maximilian
2f3c12a06c Fix auth_token assignment 2022-11-01 17:28:28 -05:00
Maximilian
d68badc41c Fix password authentication 2022-11-01 17:15:19 -05:00
Maximilian
200942b2a2 Set session cookie name 2022-10-22 12:23:34 -05:00
max
93a1cb6049 ValidateSessionCookie() and LogoutUser() 2022-10-21 21:04:46 -05:00
max
3417622841 Pass response writer to createSessionCookie() 2022-10-21 20:17:11 -05:00
max
d875d5e351 Work in progress user model and functionality 2022-10-20 11:59:57 -05:00
max
e73c006550 Routing, templating, and database handling 2022-10-20 11:59:33 -05:00