mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
oooops.
This commit is contained in:
parent
112b61b97b
commit
f24ce0bea2
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ def log_access_request(request, login_unsuccessful):
|
|||
""" Log the access attempt """
|
||||
access_log = AccessLog()
|
||||
access_log.user_agent = request.META.get('HTTP_USER_AGENT', '<unknown>')
|
||||
access_log.ip_address = get_io()
|
||||
access_log.ip_address = get_ip()
|
||||
access_log.username = request.POST.get('username', None)
|
||||
access_log.http_accept = request.META.get('HTTP_ACCEPT', '<unknown>')
|
||||
access_log.path_info = request.META.get('PATH_INFO', '<unknown>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue