Adding framework for salt & hashing passwords before creating admin users, still requires integration at this stage
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user