diff --git a/console-ui/src/utils/request.js b/console-ui/src/utils/request.js index 565b51ecd5e..6c6e355fba6 100644 --- a/console-ui/src/utils/request.js +++ b/console-ui/src/utils/request.js @@ -89,7 +89,9 @@ const request = () => { if ( [401, 403].includes(status) && - ['unknown user!', 'token invalid!', 'token expired!'].includes(message) + ['unknown user!', 'token invalid!', 'token expired!', 'authorization failed!'].includes( + message + ) ) { goLogin(); }