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

This commit is contained in:
shockrah committed 2025-03-10 23:20:56 -07:00
1 parent a7bae463a2
commit 503ba812f2
5 files changed
+62 -2

No files matched your search

+3 -1
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)
);