Adding framework for salt & hashing passwords before creating admin users, still requires integration at this stage

This commit is contained in:
2025-03-10 23:20:56 -07:00
parent a7bae463a2
commit 503ba812f2
5 changed files with 62 additions and 2 deletions

View File

@@ -3,7 +3,9 @@ CREATE TABLE IF NOT EXISTS users (
id UUID,
/* Acts as a kind of nick name per instance as it assumes no uniqueness */
username VARCHAR(256),
/* Basic salted+hashed password */
/* Salt to be generated everytime password is (re)created */
salt VARCHAR(256),
/* Basic hashed password */
password VARCHAR(256),
PRIMARY KEY (id)
);