修复后台登录失效自动跳转
This commit is contained in:
@@ -130,6 +130,7 @@ function shouldClearAdminSession(errorCode: string) {
|
|||||||
'admin_auth_expired',
|
'admin_auth_expired',
|
||||||
'admin_auth_user_invalid',
|
'admin_auth_user_invalid',
|
||||||
'admin_auth_stale',
|
'admin_auth_stale',
|
||||||
|
'admin_auth_revoked',
|
||||||
].includes(errorCode)
|
].includes(errorCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user