WorkshopTasker/server/api
Wroclaw 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
..
clients Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
orders Don't import Decimal from internal libraries 2023-11-09 04:34:25 +01:00
users Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
clients.get.ts Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
clients.post.ts api/clients.post (checkIsClient): Fix opposite condition for the patch parameter. 2023-11-09 11:39:00 +01:00
echo.post.ts Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
firstRun.get.ts Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
firstRun.post.ts api/firstRun.post: await for user creation 2023-11-09 17:29:41 +01:00
hi.ts Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
login.post.ts [BREAKING] Auth: replace current auth tokens with more secure ones 2023-11-09 18:28:09 +01:00
logout.ts Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
orders.get.ts Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00
orders.post.ts Replace mysql2 with prisma 2023-11-08 05:36:12 +01:00