Update JWTAuth.php

This commit is contained in:
Evgeny Kuchuk 2020-05-06 11:42:23 +03:00
parent 86bb12c1eb
commit 76e8be0e8f

View File

@ -296,7 +296,7 @@ class JWTAuth
} elseif ($this->token) {
return $this;
} else {
throw new JWTException('A token is required', 400);
throw new JWTException('A token is required', 401);
}
}