feat(auth): harden authentication and add configurable two-factor support
This commit is contained in:
@@ -5,6 +5,10 @@ use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
||||
uses(RefreshDatabase::class);
|
||||
|
||||
beforeEach(function () {
|
||||
config(['auth-ui.features.two_factor_required' => false]);
|
||||
});
|
||||
|
||||
it('allows login with email and password', function () {
|
||||
$user = User::factory()->create([
|
||||
'email' => 'test@example.com',
|
||||
|
||||
Reference in New Issue
Block a user