'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, ]), ] : [], ];