mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Fix code formatting for linter
This commit is contained in:
parent
3d32483dae
commit
344a97c694
1 changed files with 2 additions and 2 deletions
|
|
@ -95,8 +95,8 @@ class AxesDatabaseHandler(AxesHandler): # pylint: disable=too-many-locals
|
|||
)
|
||||
|
||||
# This replaces null byte chars that crash saving failures, meaning an attacker doesn't get locked out.
|
||||
get_data = get_query_str(request.GET).replace('\0', '0x00')
|
||||
post_data = get_query_str(request.POST).replace('\0', '0x00')
|
||||
get_data = get_query_str(request.GET).replace("\0", "0x00")
|
||||
post_data = get_query_str(request.POST).replace("\0", "0x00")
|
||||
|
||||
if self.is_whitelisted(request, credentials):
|
||||
log.info("AXES: Login failed from whitelisted client %s.", client_str)
|
||||
|
|
|
|||
Loading…
Reference in a new issue