This commit is contained in:
ASUS 2025-08-15 17:24:19 +08:00
parent c8ce8d4e1e
commit e3a2c4178a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {