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
Updated Dotenv::getSettings to prepend & append start/end chars to each pattern. Updated Dotenv::getSettings to construct trusted_host_patterns based on DOMAINS if
`TRUSTED_HOST_PATTERNS` environment variable is not set. Updated `SHIELD` variable to serve as the default username/password for the prompt if filled.
A boolean allowing the enabling/disabling of Shield module auth functionality.
198
+
A string allowing the enabling/disabling of Shield module auth functionality.
199
+
200
+
If empty, shield will not be enabled.
201
+
202
+
If filled, the string will be used as username & password by default.
199
203
200
204
Note: _Make sure the "Enable Shield" checkbox is checked in Drupal & that config is committed._
201
205
202
206
##### SHIELD_USERNAME
203
207
The username for Shield to require, if enabled.
204
208
209
+
This package will use the value of `SHIELD` as username, by default.
210
+
205
211
##### SHIELD_PASSWORD
206
212
The password for Shield to require, if enabled.
207
213
214
+
This package will use the value of `SHIELD` as password, by default.
215
+
208
216
##### SHIELD_MESSAGE
209
217
The _public_ message Shield should show in the auth prompt if enabled.
210
218
@@ -236,7 +244,11 @@ so the shorter DSN can be used.
236
244
Streamlined environment-dependent configuration of _one_ Solr core is supported at this time.
237
245
238
246
#### TRUSTED_HOST_PATTERNS
239
-
A CSV list of patterns specifying [trusted hosts](https://www.drupal.org/docs/installing-drupal/trusted-host-settings#s-protecting-in-drupal-8).
247
+
Optional. A CSV list of patterns specifying [trusted hosts](https://www.drupal.org/docs/installing-drupal/trusted-host-settings#s-protecting-in-drupal-8). If this
248
+
variable is not set, this package will populate Drupal's `trusted_host_patterns` array
249
+
based on the value of [DOMAINS](#domains).
250
+
251
+
Start (`^`) & end (`$`) characters are added to every pattern, by default.
240
252
241
253
#### Configuration Conclusion
242
254
With these few Environment Variables, you will be able to configure Drupal in a streamlined
0 commit comments