database
This commit is contained in:
parent
c8ce8d4e1e
commit
e3a2c4178a
|
|
@ -51,7 +51,7 @@ class Frontend
|
|||
$token = request()->header('token');
|
||||
if ($token) {
|
||||
if(!$this->auth->init($token)) {
|
||||
$this->error('Token expiration', [], 409);
|
||||
$this->error('Token expiration', [], 401);
|
||||
}
|
||||
}else {
|
||||
if ($needLogin) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue