4 * Authentication configuration options.
6 * Changes to these config files are not supported by BookStack and may break upon updates.
7 * Configuration should be altered via the `.env` file or environment variables.
8 * Do not edit this file unless you're happy to maintain any changes yourself.
13 // Method of authentication to use
14 // Options: standard, ldap
15 'method' => env('AUTH_METHOD', 'standard'),
17 // Authentication Defaults
18 // This option controls the default authentication "guard" and password
19 // reset options for your application.
22 'passwords' => 'users',
25 // Authentication Guards
26 // All authentication drivers have a user provider. This defines how the
27 // users are actually retrieved out of your database or other storage
28 // mechanisms used by this application to persist your user's data.
29 // Supported: "session", "token"
32 'driver' => 'session',
33 'provider' => 'users',
37 'driver' => 'api-token',
42 // All authentication drivers have a user provider. This defines how the
43 // users are actually retrieved out of your database or other storage
44 // mechanisms used by this application to persist your user's data.
45 // Supported: database, eloquent, ldap
48 'driver' => env('AUTH_METHOD', 'standard') === 'standard' ? 'eloquent' : env('AUTH_METHOD'),
49 'model' => \BookStack\Auth\User::class,
53 // 'driver' => 'database',
54 // 'table' => 'users',
58 // Resetting Passwords
59 // The expire time is the number of minutes that the reset token should be
60 // considered valid. This security feature keeps tokens short-lived so
61 // they have less time to be guessed. You may change this as needed.
64 'provider' => 'users',
65 'email' => 'emails.password',
66 'table' => 'password_resets',