mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-01 13:53:09 +08:00
Added auth login control
This commit is contained in:
@ -15,6 +15,11 @@ class DatabaseSeeder extends Seeder
|
||||
Model::unguard();
|
||||
|
||||
// $this->call(UserTableSeeder::class);
|
||||
\Oxbow\User::create([
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@admin.com',
|
||||
'password' => \Illuminate\Support\Facades\Hash::make('password')
|
||||
]);
|
||||
|
||||
Model::reguard();
|
||||
}
|
||||
|
Reference in New Issue
Block a user