Commit 5cf25653 authored by Chris Lamb's avatar Chris Lamb
Browse files

Fix another log message in the same file.

parent fcf32e49
......@@ -57,8 +57,9 @@ class LoginView(TwoFactorLoginView):
email = self.request.POST.get('auth-email', '')
ip_address = self.request.META['REMOTE_ADDR']
log.warning(self.request, "Rejected login attempt for {!r}".format(
email))
log.warning(
"Rejected login attempt for %r", email, request=self.request,
)
for resource, val, prefix in (
('login:email', email, "for the email"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment