]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/LoginService.php
Guest create page: name field autofocus
[bookstack] / app / Auth / Access / LoginService.php
index f41570417ef7f4594495a042e9834eda69adbb7d..c80943166983f950f372712a597cae7cb7031741 100644 (file)
@@ -5,6 +5,7 @@ namespace BookStack\Auth\Access;
 use BookStack\Actions\ActivityType;
 use BookStack\Auth\Access\Mfa\MfaSession;
 use BookStack\Auth\User;
+use BookStack\Exceptions\LoginAttemptException;
 use BookStack\Exceptions\StoppedAuthenticationException;
 use BookStack\Facades\Activity;
 use BookStack\Facades\Theme;
@@ -149,6 +150,7 @@ class LoginService
      * May interrupt the flow if extra authentication requirements are imposed.
      *
      * @throws StoppedAuthenticationException
+     * @throws LoginAttemptException
      */
     public function attempt(array $credentials, string $method, bool $remember = false): bool
     {