Skip to content

Commit

Permalink
docs: Add example to require login for a contact form
Browse files Browse the repository at this point in the history
Fixes #9353
  • Loading branch information
nijel committed Jul 5, 2023
1 parent 8c429df commit b5ca320
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/admin/install/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,13 @@ Generic settings

You can either replace whole settings, or modify default value using ``ADD`` and ``REMOVE`` variables.

To enforce authentication for the contact form, do:

.. code-block:: yaml
environment:
WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS: /contact/$
.. envvar:: WEBLATE_GOOGLE_ANALYTICS_ID

Configures ID for Google Analytics by changing :setting:`GOOGLE_ANALYTICS_ID`.
Expand Down

0 comments on commit b5ca320

Please sign in to comment.