diff --git a/config/filter.d/froxlor-auth.conf b/config/filter.d/froxlor-auth.conf
index ab85c9cf..c6f35e15 100644
--- a/config/filter.d/froxlor-auth.conf
+++ b/config/filter.d/froxlor-auth.conf
@@ -20,15 +20,15 @@ before = common.conf
[DEFAULT]
_daemon = [Ff]roxlor
+_re = (?:Unknown )?[uU]ser(?: '(?:\S*|[^']*)')? tried to login(?: with wrong password)?\.
+
[type1]
-prefregex = ^%(__prefix_line)s\[Login Action \] .+$
+failregex = ^%(__prefix_line)s\[Login Action \] %(_re)s$
[type2]
-prefregex = ^%(__prefix_line)sfroxlor\.WARNING: .+ \{(?:"[^"]+":"[^"]*",\s*){,5}"user":""\} \[\]$
+failregex = ^%(__prefix_line)sfroxlor\.WARNING: %(_re)s \{(?:"[^"]+":"[^"]*",\s*){,5}"user":""\} \[\]$
[Definition]
type = 2
-prefregex = /prefregex>
-failregex = ^Unknown user(?: \S*)? tried to login\.$
- ^User(?: \S*)? tried to login with wrong password\.$
+failregex = /failregex>
ignoreregex =