token cookie, register

This commit is contained in:
2024-09-25 23:13:15 +02:00
parent 8b09406339
commit bcf3000bcc
2 changed files with 50 additions and 8 deletions

View File

@@ -4,5 +4,6 @@ id INTEGER PRIMARY KEY NOT NULL,
username TEXT NOT NULL,
saltyhash text NOT NULL,
permissions INTEGER DEFAULT 0,
token TEXT NOT NULL
token TEXT NOT NULL,
UNIQUE(id, username)
)