Commit graph

6 commits

Author SHA1 Message Date
ebf5690519 [BREAKING] Auth: replace current auth tokens with more secure ones
previously tokens were only like IDs, time based and incrementing counter.
An attacker could easily bruteforce them.
This patch changes tokens to be completely random.

fixes #2
2023-11-09 18:28:09 +01:00
eebf25198d Replace mysql2 with prisma
also I updated packages,
and properly typed api input
a lot of time was spent, I don't remeber what really I did x3
but everything was related to replacing mysql2 with prisma
2023-11-08 05:36:12 +01:00
1d893c4a78 Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
75f809051c refactor out password hashing in login.post.ts
this will be used to create the first user account in an empty database
2023-06-14 11:48:31 +02:00
4e67cc4e19 update cuz presentation 2023-05-24 09:40:45 +02:00
1e63e008af Initial commit 2023-05-11 06:03:22 +02:00