admin improvements
This commit is contained in:
@@ -21,11 +21,4 @@ $db->exec("CREATE TABLE IF NOT EXISTS user(
|
||||
created_at TEXT DEFAULT CURRENT_TIMESTAMP
|
||||
)");
|
||||
|
||||
header("Location: configuration.php");
|
||||
|
||||
|
||||
|
||||
INSERT INTO user (username, passwordhash, district)
|
||||
SELECT district, "$2y$10$W9CE8IOOfnfi3XTMEVByZeDIrZo1VPxCHz2CfCe.sOH87V/AdaUG2", district
|
||||
FROM district;
|
||||
|
||||
header("Location: configuration.php");
|
||||
Reference in New Issue
Block a user