1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added testing coverage to API token auth

This commit is contained in:
Dan Brown
2019-12-30 19:42:46 +00:00
parent 6f1b88a6a6
commit 3d11cba223
8 changed files with 126 additions and 7 deletions

View File

@ -35,7 +35,7 @@ class ApiAuthenticate
}
if ($this->awaitingEmailConfirmation()) {
return $this->emailConfirmationErrorResponse($request);
return $this->emailConfirmationErrorResponse($request, true);
}
return $next($request);