From 7379f5ac9356e98bf99d88d17441dd1663f474a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 4 Dec 2024 12:34:17 +0100 Subject: [PATCH] feat: translated error message --- src/BusProNet/Security/Authenticator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BusProNet/Security/Authenticator.php b/src/BusProNet/Security/Authenticator.php index 7782faf..2f94784 100644 --- a/src/BusProNet/Security/Authenticator.php +++ b/src/BusProNet/Security/Authenticator.php @@ -51,7 +51,7 @@ class Authenticator extends AbstractLoginFormAuthenticator implements Authentica } if (false === $response instanceof PersonalData) { - throw new CustomUserMessageAuthenticationException('User not found'); + throw new CustomUserMessageAuthenticationException('Der Login ist fehlgeschlagen :('); } $csrfToken = $request->request->getString('_csrf_token');