Harden Project 01 public endpoints

This commit is contained in:
Andrie
2026-06-11 23:15:42 +07:00
parent a90748d9c1
commit 6f4488c1b8
39 changed files with 1183 additions and 612 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ CREATE TABLE IF NOT EXISTS users (
password VARCHAR(255) NOT NULL
);
-- Default: admin / password
-- Development seed only. Before public deployment, rotate this password immediately
-- or replace this seed with an environment-specific admin creation step.
INSERT IGNORE INTO users (username, password) VALUES (
'admin',
'$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi'