return [
- // Method of authentication to use
// Options: standard, ldap, saml2, oidc
'method' => env('AUTH_METHOD', 'standard'),
'provider' => 'external',
],
'api' => [
- 'driver' => 'api-token',
+ 'driver' => 'api-token',
],
],
'driver' => 'eloquent',
'model' => \BookStack\Auth\User::class,
],
+
'external' => [
'driver' => 'external-users',
'model' => \BookStack\Auth\User::class,
],
+
+ // 'users' => [
+ // 'driver' => 'database',
+ // 'table' => 'users',
+ // ],
],
// Resetting Passwords
],
],
+ // Password Confirmation Timeout
+ // Here you may define the amount of seconds before a password confirmation
+ // times out and the user is prompted to re-enter their password via the
+ // confirmation screen. By default, the timeout lasts for three hours.
+ 'password_timeout' => 10800,
+
];