Sunil Mohan Adapa
dc9ab52edc
axes: Minor fixes to configuration for IP blocking
...
- Use the X-Forwarded-For header only if specified in the configuration. This
makes FreedomBox safe to use when not behind a reverse proxy server (although
we are unlikely to do this).
- When fetching the IP address to reset after successful login, use the
X-Forwarded-For header only if specified in the configuration.
- Minor flake8 refactorings.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-28 17:17:32 -05:00
..
2018-12-13 18:24:47 -05:00
2018-10-08 20:30:29 -04:00
2019-01-14 17:37:58 -08:00
2019-01-27 11:10:42 -05:00
2019-01-14 17:37:58 -08:00
2019-01-14 17:37:58 -08:00
2019-01-14 17:37:58 -08:00
2018-10-03 19:19:09 -04:00
2019-01-14 17:37:58 -08:00
2018-10-21 19:17:59 -04:00
2019-01-14 17:38:01 -08:00
2019-01-14 17:38:01 -08:00
2019-01-14 17:37:58 -08:00
2018-11-24 17:48:13 +05:30
2019-01-14 17:37:58 -08:00
2019-01-18 11:47:46 +05:30
2019-01-28 09:56:59 -08:00
2019-01-14 17:38:01 -08:00
2018-10-03 19:18:43 -04:00
2018-10-03 19:19:05 -04:00
2019-01-14 17:37:58 -08:00
2019-01-23 13:02:55 -08:00
2018-10-08 11:01:29 +05:30
2018-11-28 19:43:24 -05:00
2019-01-28 10:54:27 -08:00
2019-01-14 17:37:58 -08:00
2018-10-03 19:18:56 -04:00
2019-01-14 17:37:58 -08:00
2019-01-14 17:37:58 -08:00
2019-01-27 08:16:24 -05:00
2019-01-14 17:37:58 -08:00
2018-10-21 19:19:37 -04:00
2018-10-03 19:18:58 -04:00
2018-10-08 18:28:26 -04:00
2019-01-26 22:06:49 -08:00
2018-10-03 19:18:43 -04:00
2019-01-14 17:37:58 -08:00
2018-10-03 19:19:01 -04:00
2019-01-14 19:51:30 -05:00
2019-01-24 14:28:26 -08:00
2019-01-14 17:37:58 -08:00
2018-10-08 18:28:45 -04:00
2019-01-14 17:38:01 -08:00
2019-01-14 17:37:58 -08:00
2019-01-14 17:37:58 -08:00
2019-01-28 17:17:32 -05:00
2019-01-27 11:10:42 -05:00
2019-01-26 21:30:29 -05:00
2018-11-01 20:40:02 -04:00
2019-01-14 17:40:26 -05:00
2018-10-03 19:19:17 -04:00
2018-06-30 09:40:09 -04:00
2019-01-14 17:37:58 -08:00
2019-01-14 17:37:58 -08:00