mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
implement token generation endpoint
This commit is contained in:
parent
7f24ba04da
commit
b1d7363e81
6 changed files with 64 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue