This commit is contained in:
Minik Gaarde Lambrecht
2021-04-08 13:06:52 +02:00
parent 84d849c6dd
commit a0d9f880fd
5 changed files with 103 additions and 14 deletions
+2 -2
View File
@@ -4,5 +4,5 @@ use Backend\Models\AdminUser;
require_once ('Database/databaseMigration.php');
AdminUser::firstOrCreate([
'user_name' => '', 'password' => password_hash('',PASSWORD_DEFAULT)
]);
'user_name' => 'admin', 'password' => password_hash('admin123',PASSWORD_DEFAULT)
]);