This commit is contained in:
2025-08-15 17:24:19 +08:00
parent c8ce8d4e1e
commit e3a2c4178a

View File

@@ -51,7 +51,7 @@ class Frontend
$token = request()->header('token'); $token = request()->header('token');
if ($token) { if ($token) {
if(!$this->auth->init($token)) { if(!$this->auth->init($token)) {
$this->error('Token expiration', [], 409); $this->error('Token expiration', [], 401);
} }
}else { }else {
if ($needLogin) { if ($needLogin) {