From f57fe2b4d3757f634c88c7b3a45f2d4bca83ccc4 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 29 Jan 2021 17:29:20 +0100 Subject: [PATCH] Auth: minor bug, sending an empty log line after "...authenticated successfully..." --- .../mvc/app/library/OPNsense/Auth/AuthenticationFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php index 29c8537ce..34d075641 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php @@ -197,7 +197,7 @@ class AuthenticationFactory if ($authenticator->authenticate($service->getUserName(), $password)) { if ($service->checkConstraints()) { syslog(LOG_NOTICE, sprintf( - "user %s authenticated successfully for %s [using %s + %s]\n", + "user %s authenticated successfully for %s [using %s + %s]", $username, $service_name, get_class($service),