Close #8107
This commit is contained in:
parent
1a1d315cd1
commit
dba1cf56f0
@ -89,7 +89,9 @@ const request = () => {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
[401, 403].includes(status) &&
|
[401, 403].includes(status) &&
|
||||||
['unknown user!', 'token invalid!', 'token expired!'].includes(message)
|
['unknown user!', 'token invalid!', 'token expired!', 'authorization failed!'].includes(
|
||||||
|
message
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
goLogin();
|
goLogin();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user