Commit graph

16 commits

Author SHA1 Message Date
Joe Ardent
ce4c250ba0 add migration and config obj 2024-03-07 17:40:08 -08:00
Joe Ardent
d589a88c30 add dep on sqlite backend for session store 2024-03-04 22:21:08 -08:00
Joe Ardent
8e25651cfa Set SameSite for cookies to lax; log errors instead of panic.
Also use a password strength crate since Forgejo itself insists on some minimum complexity for it.
2024-03-04 17:13:15 -08:00
Joe Ardent
bafc93f6af gets a 422 back from forgejo from user creation request 2024-03-02 16:28:03 -08:00
Joe Ardent
022f0e6325 Ready to test 2024-03-02 11:18:59 -08:00
Joe Ardent
ba027bb1cd Add logging and prettier error pages. 2024-03-01 17:27:56 -08:00
Joe Ardent
5e8d2d398f make session key unguessable 2024-02-26 17:07:40 -08:00
Joe Ardent
d985211b66 add expiry to session 2024-02-26 15:06:19 -08:00
Joe Ardent
380e81f8c9 adding more comments 2024-02-25 23:01:01 -08:00
Joe Ardent
17bec04f2c simplify entrypoint 2024-02-25 22:54:30 -08:00
Joe Ardent
b924819211 be more explicit 2024-02-25 22:49:02 -08:00
Joe Ardent
1daec80430 make valid ranges into constants 2024-02-25 18:39:42 -08:00
Joe Ardent
478464ac05 Re-org into better-defined modules. 2024-02-25 18:25:04 -08:00
Joe Ardent
883dfd67ea prepare for when a username gets snatched between initial signup and having paid 2024-02-25 17:58:28 -08:00
Joe Ardent
d9d7e7d9c7 validates form and checks that there's a valid session when you come back 2024-02-25 17:24:45 -08:00
Joe Ardent
a31b41cb9e doesn't not work 2024-02-25 16:34:32 -08:00