]>
BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/HandlesPartialLogins.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3556 from GongMingCai/development
[bookstack]
/
app
/
Http
/
Controllers
/
Auth
/
HandlesPartialLogins.php
diff --git
a/app/Http/Controllers/Auth/HandlesPartialLogins.php
b/app/Http/Controllers/Auth/HandlesPartialLogins.php
index f9bacb95d85e9eaaaff7a585ab2a3555e0adc3ec..c7f3621517f58881febe1dc94e425de9d8290082 100644
(file)
--- 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
+}