Commit cda2b96
committed
feat: django-axes prefers forwarded ip address
Prioritize `HTTP_X_FORWARDED_FOR` for django-axes similar
to audit logs with the get_client_ip.
https://django-axes.readthedocs.io/en/latest/4_configuration.html#configuring-reverse-proxies
Refs: PT-20261 parent f6af725 commit cda2b96
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
0 commit comments