Skip to content

Commit d554037

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [Security] Improve `requires_channel` var naming
2 parents fa5cf36 + 775fb17 commit d554037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/force_https.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ access control:
7474
};
7575
7676
To make life easier while developing, you can also use an environment variable,
77-
like ``requires_channel: '%env(SECURE_SCHEME)%'``. In your ``.env`` file, set
78-
``SECURE_SCHEME`` to ``http`` by default, but override it to ``https`` on production.
77+
like ``requires_channel: '%env(REQUIRED_SCHEME)%'``. In your ``.env`` file, set
78+
``REQUIRED_SCHEME`` to ``http`` by default, but override it to ``https`` on production.
7979

8080
See :doc:`/security/access_control` for more details about ``access_control``
8181
in general.

0 commit comments

Comments
 (0)