123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <?php
-
- return [
-
- /*
- |--------------------------------------------------------------------------
- | User Repository
- |--------------------------------------------------------------------------
- |
- | Statamic uses a repository to get users, roles, groups, and their
- | relationships from specified storage locations. The file driver
- | gets it from disk, while the eloquent driver gets from a DB.
- |
- | Supported: "file", "eloquent"
- |
- */
-
- 'repository' => 'file',
-
- 'repositories' => [
-
- 'file' => [
- 'driver' => 'file',
- 'paths' => [
- 'users' => base_path('users'),
- 'roles' => resource_path('users/roles.yaml'),
- 'groups' => resource_path('users/groups.yaml'),
- ],
- ],
-
- 'eloquent' => [
- 'driver' => 'eloquent',
- ],
-
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Avatars
- |--------------------------------------------------------------------------
- |
- | User avatars are initials by default, with custom options for services
- | like Gravatar.com.
- |
- | Supported: "initials", "gravatar", or a custom class name.
- |
- */
-
- 'avatars' => 'initials',
-
- /*
- |--------------------------------------------------------------------------
- | New User Roles
- |--------------------------------------------------------------------------
- |
- | When registering new users through the user:register_form tag, these
- | roles will automatically be applied to your newly created users.
- |
- */
-
- 'new_user_roles' => [
- //
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Password Brokers
- |--------------------------------------------------------------------------
- |
- | When resetting passwords, Statamic uses an appropriate password broker.
- | Here you may define which broker should be used for each situation.
- | You may want a longer expiry for user activations, for example.
- |
- */
-
- 'passwords' => [
- 'resets' => 'resets',
- 'activations' => 'activations',
- ],
-
- /*
- |--------------------------------------------------------------------------
- | DB Connection
- |--------------------------------------------------------------------------
- |
- | Default database connection.
- |
- */
-
- 'database' => config('database.default'),
-
- /*
- |--------------------------------------------------------------------------
- | Authentication Guards
- |--------------------------------------------------------------------------
- |
- | By default, Statamic will use the `web` authentication guard. However,
- | if you want to run Statamic alongside the default Laravel auth
- | guard, you can configure that for your cp and/or frontend.
- |
- */
-
- 'guards' => [
- 'cp' => 'web',
- 'web' => 'web',
- ],
-
- ];
|