You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure how users authenticate with your CMS \([learn more about laravel authentication]((https://laravel.com/docs/12.x/authentication#adding-custom-guards))\):
50
+
Configure how users authenticate with your CMS \([learn more about laravel authentication](<(https://laravel.com/docs/12.x/authentication#adding-custom-guards)>)\):
51
51
52
52
```php
53
53
'auth' => [
@@ -80,7 +80,7 @@ Configure how users authenticate with your CMS \([learn more about laravel authe
80
80
81
81
/**
82
82
* Security settings to protect against brute-force attacks
83
-
*
83
+
*
84
84
* Number of failed attempts before lockout
85
85
*/
86
86
'failed_login_attempts' => 5, // Number of attempts before account lockout
@@ -92,14 +92,14 @@ Configure how users authenticate with your CMS \([learn more about laravel authe
92
92
93
93
/**
94
94
* Controls when super admin checks are performed in the authentication flow
95
-
*
95
+
*
96
96
* Allowed values: before, after, none
97
97
*/
98
-
'skip_super_admin_check' => 'before',
98
+
'skip_super_admin_check' => 'before',
99
99
100
100
/**
101
101
* Skip account verification for users.
102
-
*
102
+
*
103
103
* Set to true to skip account email verification requirements.
104
104
*/
105
105
'skip_account_verification' => false,
@@ -109,17 +109,18 @@ Configure how users authenticate with your CMS \([learn more about laravel authe
109
109
### Media Management
110
110
111
111
Configure media uploads, storage, and processing:
112
+
112
113
```php
113
114
'media' => [
114
-
115
+
115
116
/**
116
117
* User avatar storage configuration
117
118
*/
118
119
'user_avatar' => [
119
120
'disk' => 'public', // Storage disk to use (public, s3, etc.)
120
121
'directory' => 'avatars', // Subdirectory where avatars will be stored
121
122
],
122
-
123
+
123
124
/**
124
125
* Media library configuration
125
126
*/
@@ -128,14 +129,14 @@ Configure media uploads, storage, and processing:
128
129
// Use 's3' or other drivers for cloud storage
129
130
'directory' => '', // Base directory for media files (empty for root)
130
131
// Set to 'media' or similar for better organization
131
-
132
+
132
133
/**
133
134
* Allowed file types
134
-
*
135
+
*
135
136
* e.g. ['image/jpeg', 'image/png', 'video/mp4']
136
137
*/
137
-
'allowed_mime_types' => [],
138
-
138
+
'allowed_mime_types' => [],
139
+
139
140
/**
140
141
* Maximum file size in KB
141
142
*/
@@ -162,9 +163,9 @@ Configure media uploads, storage, and processing:
162
163
* HTTP middleware applied to media requests
163
164
*/
164
165
'middleware' => [
165
-
'cache.headers:public;max_age=2628000;etag',
166
+
'cache.headers:public;max_age=2628000;etag',
166
167
],
167
-
168
+
168
169
/**
169
170
* Responsive image generation settings
170
171
*/
@@ -220,7 +221,7 @@ Optimize performance with caching configurations:
220
221
// For production environments, consider enabling a persistent cache driver
0 commit comments