diff --git a/src/init/init_db.ts b/src/init/init_db.ts index 3d3fed4..559708b 100644 --- a/src/init/init_db.ts +++ b/src/init/init_db.ts @@ -10,7 +10,7 @@ let createSQLStmt = `CREATE TABLE IF NOT EXISTS users db.exec(createSQLStmt); // check if there are any users; if not add one default admin one -const userPassword = 'pass-123'; +const userPassword = 'A-InnoHUB_2025!'; const hashedUserPassword = new jsSHA('SHA-512', 'TEXT').update(userPassword).getHash('HEX'); const checkInsertSQLStmt = `INSERT INTO users (name, pw) SELECT 'admin', '${hashedUserPassword}' WHERE NOT EXISTS (SELECT * FROM users);`;