Commit 89dbaf19 authored by Administrator's avatar Administrator

Update 1 files via Son of Anton

parent 2af14ad9
...@@ -9,7 +9,7 @@ return function (Database $db): void { ...@@ -9,7 +9,7 @@ return function (Database $db): void {
return; return;
} }
$passwordHash = password_hash('ChangeMe123!', PASSWORD_BCRYPT, ['cost' => 12]); $passwordHash = password_hash('ClubManagement', PASSWORD_BCRYPT, ['cost' => 12]);
$employeeId = $db->insert('employees', [ $employeeId = $db->insert('employees', [
'username' => 'admin', 'username' => 'admin',
...@@ -18,7 +18,7 @@ return function (Database $db): void { ...@@ -18,7 +18,7 @@ return function (Database $db): void {
'full_name_en' => 'System Administrator', 'full_name_en' => 'System Administrator',
'email' => 'admin@theclub.com', 'email' => 'admin@theclub.com',
'is_active' => 1, 'is_active' => 1,
'force_password_change' => 1, 'force_password_change' => 0,
'created_at' => date('Y-m-d H:i:s'), 'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s'),
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment