Login fix

This commit is contained in:
2021-03-12 11:10:14 +01:00
parent a31ed44bdd
commit c6e002d464
12 changed files with 43 additions and 35 deletions
+5 -1
View File
@@ -19,4 +19,8 @@ require "Group.php"; //Group has foreign keys to the GameJam, GameData and Passw
require "Password.php"; //Password has no foreign key
require "KeyWord.php"; //Group has foreign keys to the Group
require "Vote.php";
require "AdminUser.php";
require "AdminUser.php";
\Backend\Models\AdminUser::firstOrCreate([
'user_name' => 'admin', 'password' => password_hash("Aa123456&",PASSWORD_DEFAULT)
]);