Commit graph

24 commits

Author SHA1 Message Date
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
0826f2f0e3 Add logging deps. 2024-03-01 17:27:56 -08:00
Joe Ardent
3ffde146b0 update deps, add http client crate 2024-03-01 14:44:27 -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
cf0e1d3d8f add time to deps 2024-02-26 15:06:01 -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
c7bad9350a add tower-http 2024-02-25 18:39:00 -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
Joe Ardent
ff673840e3 goodbye elixir 2024-02-18 12:50:27 -08:00
Joe Ardent
31fb2000f0 doesn't work, switching to rust 2024-02-18 12:47:20 -08:00
Joe Ardent
248574eabc compiles and runs from iex, but how to run outside that 2024-02-17 14:28:47 -08:00
Joe Ardent
0a8740b4b8 update deps 2024-02-12 22:04:39 -08:00
Joe Ardent
392f73a19c deps declared 2024-02-12 17:39:18 -08:00
Joe Ardent
1562ee43fc readme 2024-02-11 13:23:05 -08:00