70 lines
1.7 KiB
PHP
70 lines
1.7 KiB
PHP
<?php
|
|
|
|
use Laravel\Fortify\Features;
|
|
|
|
return [
|
|
'guard' => 'web',
|
|
'middleware' => ['web'],
|
|
'auth_middleware' => 'auth',
|
|
'passwords' => 'users',
|
|
'username' => 'email',
|
|
'email' => 'email',
|
|
'views' => true,
|
|
'home' => '/home',
|
|
'prefix' => '',
|
|
'domain' => null,
|
|
'lowercase_usernames' => false,
|
|
'limiters' => [
|
|
'login' => null,
|
|
],
|
|
'paths' => [
|
|
'login' => null,
|
|
'logout' => null,
|
|
'password' => [
|
|
'request' => null,
|
|
'reset' => null,
|
|
'email' => null,
|
|
'update' => null,
|
|
'confirm' => null,
|
|
'confirmation' => null,
|
|
],
|
|
'register' => null,
|
|
'verification' => [
|
|
'notice' => null,
|
|
'verify' => null,
|
|
'send' => null,
|
|
],
|
|
'user-profile-information' => [
|
|
'update' => null,
|
|
],
|
|
'user-password' => [
|
|
'update' => null,
|
|
],
|
|
'two-factor' => [
|
|
'login' => null,
|
|
'enable' => null,
|
|
'confirm' => null,
|
|
'disable' => null,
|
|
'qr-code' => null,
|
|
'secret-key' => null,
|
|
'recovery-codes' => null,
|
|
],
|
|
],
|
|
'redirects' => [
|
|
'login' => null,
|
|
'logout' => null,
|
|
'password-confirmation' => null,
|
|
'register' => null,
|
|
'email-verification' => null,
|
|
'password-reset' => null,
|
|
],
|
|
'features' => [
|
|
Features::registration(),
|
|
Features::resetPasswords(),
|
|
Features::emailVerification(),
|
|
Features::updateProfileInformation(),
|
|
Features::updatePasswords(),
|
|
Features::twoFactorAuthentication(),
|
|
],
|
|
];
|