X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1af5bbf3f7404ef9380477657ac1b5df0df119aa..refs/pull/4002/head:/app/Http/Controllers/Auth/HandlesPartialLogins.php diff --git a/app/Http/Controllers/Auth/HandlesPartialLogins.php b/app/Http/Controllers/Auth/HandlesPartialLogins.php index f9bacb95d..c7f362151 100644 --- a/app/Http/Controllers/Auth/HandlesPartialLogins.php +++ b/app/Http/Controllers/Auth/HandlesPartialLogins.php @@ -8,6 +8,9 @@ use BookStack\Exceptions\NotFoundException; trait HandlesPartialLogins { + /** + * @throws NotFoundException + */ protected function currentOrLastAttemptedUser(): User { $loginService = app()->make(LoginService::class); @@ -19,4 +22,4 @@ trait HandlesPartialLogins return $user; } -} \ No newline at end of file +}