Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 config stubs updated to match config files #4060

Merged
merged 1 commit into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/Console/Commands/stubs/config/stache.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ return [
|
*/

'watcher' => true,
'watcher' => env('STATAMIC_STACHE_WATCHER', true),

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -85,4 +85,22 @@ return [
//
],

/*
|--------------------------------------------------------------------------
| Locking
|--------------------------------------------------------------------------
|
| In order to prevent concurrent requests from updating the Stache at
| the same and wasting resources, it will be "locked" so subsequent
| requests will have to wait until the first has been completed.
|
| https://statamic.dev/stache#locks
|
*/

'lock' => [
'enabled' => true,
'timeout' => 30,
],

];
37 changes: 35 additions & 2 deletions src/Console/Commands/stubs/config/users.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,41 @@ return [
*/

'passwords' => [
'resets' => 'resets',
'activations' => 'activations',
'resets' => config('auth.defaults.passwords'),
'activations' => config('auth.defaults.passwords'),
],

/*
|--------------------------------------------------------------------------
| Database
|--------------------------------------------------------------------------
|
| Here you may configure the database connection and its table names.
|
*/

'database' => config('database.default'),

'tables' => [
'users' => 'users',
'role_user' => 'role_user',
'group_user' => 'group_user',
],

/*
|--------------------------------------------------------------------------
| 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',
],

];