Commit Graph

12 Commits

Author SHA1 Message Date
Lars Jellema 8df5fff105 Use boolean ok field for api 2022-04-21 23:02:14 +02:00
Lars Jellema ced7d83fd9 Gitignore more sqlite files 2022-04-21 23:01:46 +02:00
Lars Jellema 73c9ad61a7 Make test scripts verbose about HTTP codes and headers 2022-04-21 23:01:35 +02:00
Lars Jellema 52647759cc Fix test login script to work with test register script 2022-04-21 22:57:01 +02:00
Lars Jellema 9d1e3539a8 Rework api errors 2022-04-21 22:51:08 +02:00
Lars Jellema 5fca980af9 Replace ApiResponseVariant with Result 2022-04-21 22:51:06 +02:00
Roflin aab60dcc11 Fixes 3 potential panics when querying the user and pwd table. 2022-04-21 21:51:57 +02:00
Roflin b5e9420c1f Makes seperate function for authorized and unauthorized request. 2022-04-21 21:35:14 +02:00
Roflin 5f73d556c6 Fixes the review comments 2022-04-21 20:02:15 +02:00
Roflin 81e65b1619 Ran rust fmt. 2022-04-21 19:12:16 +02:00
Roflin df8b553345 Adds some validation to new user registration. 2022-04-21 18:51:13 +02:00
Roflin af0dcee159 Added a user system with no proper user validation but working authorisation. 2022-04-20 22:28:00 +02:00