Commit graph

14 commits

Author SHA1 Message Date
1d0f8ecd00 feat: add refresh endpoint 2025-05-01 03:54:26 +02:00
b4469a6317 feat: prepare for access/refresh tokens in register 2025-05-01 03:54:26 +02:00
91398ecd5b style: move auth to own folder 2025-05-01 03:54:26 +02:00
87edb9dd12 feat: implement argon2id and expect passwords to be pre-hashed 2025-04-30 21:36:22 +02:00
3461218025 feat: add bogus login 2025-04-30 19:17:14 +02:00
a8886f616a fix: remove unused import 2025-04-30 19:16:58 +02:00
bda9f85b86 feat: query user creation instead of using .execute on pool
This should increase security of the operation a ton, need to test if an escape is still possible
2025-04-30 11:12:01 +00:00
0f1824b366 fix: query actual number of accounts 2025-04-30 11:10:25 +00:00
11f89a2380 docs: add todos/fixmes 2025-04-29 22:13:41 +02:00
70577fbe56 fix: remove unused variable from register 2025-04-29 22:00:28 +02:00
19bad249d4 feat: user registration
Adds crates and code for user registration, this is EXTREMELY INSECURE AND FOR TESTING ONLY
2025-04-29 21:54:41 +02:00
bebad3be9b style: cargo fmt 2025-04-29 00:43:43 +02:00
96250864af refactor: use unwrap_or() instead of unwrap_or_else() 2025-04-29 00:42:11 +02:00
f090fbafe7 Create initial api 2025-04-28 23:20:37 +02:00