Added support for SQLITE instead of having a dict (this should also be temp)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- Generate a password
|
||||
-- htpasswd -bnBC 10 "" kika | tr -d ':\n'
|
||||
|
||||
CREATE TABLE IF NOT EXISTS users(
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
password TEXT NOT NULL
|
||||
);
|
||||
|
||||
-- pass is kika here
|
||||
INSERT INTO
|
||||
users(name, password)
|
||||
values(
|
||||
'kika',
|
||||
'$2y$10$JgmGJBRPqJB5/S9gL24nC.JuMj.wnFmUHBwENCGFboCzeNATmu.rq%'
|
||||
);
|
||||
Reference in New Issue
Block a user