diff --git a/app/Extensions/WebauthnTwoFAuthUserProvider.php b/app/Extensions/WebauthnTwoFAuthUserProvider.php index cac96910..e4a2956a 100644 --- a/app/Extensions/WebauthnTwoFAuthUserProvider.php +++ b/app/Extensions/WebauthnTwoFAuthUserProvider.php @@ -11,7 +11,7 @@ class WebauthnTwoFAuthUserProvider extends WebAuthnUserProvider /** * Validate a user against the given credentials. * - * @param \Illuminate\Contracts\Auth\Authenticatable|\App\Models\WebAuthnAuthenticatable|\App\Models\User $user + * @param \App\Models\User $user * @param array $credentials * @return bool */ diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php deleted file mode 100644 index 1f654015..00000000 --- a/database/seeders/DatabaseSeeder.php +++ /dev/null @@ -1,21 +0,0 @@ -call([ - UsersTableSeeder::class, - TwoFAccountsTableSeeder::class - ]); - } -} diff --git a/database/seeders/TwoFAccountsTableSeeder.php b/database/seeders/TwoFAccountsTableSeeder.php deleted file mode 100644 index f42921fb..00000000 --- a/database/seeders/TwoFAccountsTableSeeder.php +++ /dev/null @@ -1,70 +0,0 @@ - 'totp', - 'account' => $faker->safeEmail, - 'service' => $faker->unique()->domainName, - 'secret' => 'A4GRFHZVRBGY7UIW', - 'algorithm' => 'sha1', - 'digits' => 6, - 'period' => 30, - 'icon' => 'https://fakeimg.pl/64x64/', - ]); - TwoFAccount::create([ - 'otp_type' => 'totp', - 'account' => $faker->safeEmail, - 'service' => $faker->unique()->domainName, - 'secret' => 'A4GRFHZVRBGY7UIW', - 'algorithm' => 'sha1', - 'digits' => 6, - 'period' => 30, - 'icon' => 'https://fakeimg.pl/64x64/', - ]); - TwoFAccount::create([ - 'otp_type' => 'totp', - 'account' => $faker->safeEmail, - 'service' => $faker->unique()->domainName, - 'secret' => 'A4GRFHZVRBGY7UIW', - 'algorithm' => 'sha1', - 'digits' => 6, - 'period' => 30, - 'icon' => 'https://fakeimg.pl/64x64/', - ]); - TwoFAccount::create([ - 'otp_type' => 'totp', - 'account' => $faker->safeEmail, - 'service' => $faker->unique()->domainName, - 'secret' => 'A4GRFHZVRBGY7UIW', - 'algorithm' => 'sha1', - 'digits' => 6, - 'period' => 30, - 'icon' => 'https://fakeimg.pl/64x64/', - ]); - TwoFAccount::create([ - 'otp_type' => 'totp', - 'account' => $faker->safeEmail, - 'service' => $faker->unique()->domainName, - 'secret' => 'A4GRFHZVRBGY7UIW', - 'algorithm' => 'sha1', - 'digits' => 6, - 'period' => 30, - 'icon' => 'https://fakeimg.pl/64x64/', - ]); - } -} \ No newline at end of file diff --git a/database/seeders/UsersTableSeeder.php b/database/seeders/UsersTableSeeder.php deleted file mode 100644 index 7ec61d54..00000000 --- a/database/seeders/UsersTableSeeder.php +++ /dev/null @@ -1,24 +0,0 @@ - 'admin', - 'email' => 'admin@example.org', - 'password' => bcrypt('password'), - 'is_admin' => 1, - ]); - } -}