Add utility to get IP address

This commit is contained in:
Raphael Michel
2019-07-09 16:13:37 +02:00
parent 59daeba477
commit 5a03033255
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -82,6 +82,11 @@ Example::
Enables or disables obligatory usage of Two-Factor Authentication for users of the pretix backend.
Defaults to ``False``
``trust_x_forwarded_for``
Specifies whether the ``X-Forwarded-For`` header can be trusted. Only set to ``on`` if you have a reverse
proxy that actively removes and re-adds the header to make sure the correct client IP is the first value.
Defaults to ``off``.
Locale settings
---------------