]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
fixed typo 3721/head
authorAndreas Brett <andreasbrett@users.noreply.github.com>
Fri, 30 Jun 2023 13:11:14 +0000 (15:11 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2023 13:11:14 +0000 (15:11 +0200)
full stop should be outside of the quoted IP address

src/paperless/signals.py

index f6dccd7a6cd69e90f3b0fb85e78359138ca89229..c3e69584d17272126a29698eb64de764e0f69e41 100644 (file)
@@ -24,9 +24,9 @@ def handle_failed_login(sender, credentials, request, **kwargs):
     else:
         if client_ip.is_global:
             # We got the client's IP address
-            log_output += f" from IP `{client_ip}.`"
+            log_output += f" from IP `{client_ip}`."
         else:
             # The client's IP address is private
-            log_output += f" from private IP `{client_ip}.`"
+            log_output += f" from private IP `{client_ip}`."
 
     logger.info(log_output)