]> BookStack Code Mirror - bookstack/blobdiff - app/Access/Controllers/HandlesPartialLogins.php
respective book and chapter structure added.
[bookstack] / app / Access / Controllers / HandlesPartialLogins.php
index c5554e47300131855e14ec2894b6943551fb0680..47a63d19b0c0a0f43f528e04736b1958ad2f5acd 100644 (file)
@@ -17,7 +17,7 @@ trait HandlesPartialLogins
         $user = auth()->user() ?? $loginService->getLastLoginAttemptUser();
 
         if (!$user) {
-            throw new NotFoundException('A user for this action could not be found');
+            throw new NotFoundException(trans('errors.login_user_not_found'));
         }
 
         return $user;