parent
c3818ff064
commit
d19b441540
@ -528,7 +528,7 @@ const request = (function(_global) {
|
||||
}
|
||||
if (
|
||||
[401, 403].includes(status) &&
|
||||
['unknown user!', 'token invalid', 'token expired!'].includes(responseJSON.message)
|
||||
['unknown user!', 'token invalid!', 'token expired!'].includes(responseJSON.message)
|
||||
) {
|
||||
goLogin();
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ const request = () => {
|
||||
|
||||
if (
|
||||
[401, 403].includes(status) &&
|
||||
['unknown user!', 'token invalid', 'token expired!'].includes(message)
|
||||
['unknown user!', 'token invalid!', 'token expired!'].includes(message)
|
||||
) {
|
||||
goLogin();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user