Adding framework for salt & hashing passwords before creating admin users, still requires integration at this stage
This commit is contained in:
1 parent
a7bae463a2
commit
503ba812f2
5 files changed
+62
-2
No files matched your search
+3
-1
@@ -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