20 lines
445 B
PHP
20 lines
445 B
PHP
<?php
|
|
|
|
use Laravel\Fortify\Features;
|
|
|
|
return [
|
|
'guard' => 'web',
|
|
'username' => 'email',
|
|
'views' => false,
|
|
'home' => config('auth-ui.redirects.login', '/dashboard'),
|
|
'features' => config('auth-ui.features.two_factor')
|
|
? [
|
|
Features::twoFactorAuthentication([
|
|
'confirm' => true,
|
|
'secret-length' => 32,
|
|
'window' => 0,
|
|
]),
|
|
]
|
|
: [],
|
|
];
|