implement token generation endpoint

This commit is contained in:
Michi 2025-03-30 18:15:51 +02:00
parent 7f24ba04da
commit b1d7363e81
6 changed files with 64 additions and 8 deletions

View file

@ -5,4 +5,7 @@ INSERT INTO "sessions" ("token", "userid", "validuntil") VALUES
('test2', 1, '2025-04-30');
INSERT INTO "clients" ("name") VALUES
('1.54');
('1.54');
INSERT INTO "user" ("name", "api_access", "password") VALUES
('sepp', True, '473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8'); -- PASSWORD: string