Skip to content

Commit

Permalink
Log in to the console through a browser http://ip:8848/nacos and be r…
Browse files Browse the repository at this point in the history
…edirected to the login page without pop-ups. (related issue #11153) (#12907)

* Remove excess code.(related issue #12871 )

* Log in to the console through a browser http://ip:8848/nacos and be redirected to the login page without pop-ups. (related issue #11153)
  • Loading branch information
littlesparklet authored Dec 4, 2024
1 parent 4f67995 commit 52c661b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class ConfigurationManagement extends React.Component {
this.setState({
loading: false,
});
if (res && [401, 403].includes(res.status)) {
if (res && [401, 403].includes(res.status) && localStorage.token) {
Dialog.alert({
title: locale.authFail,
content: locale.getNamespace403.replace(
Expand Down

0 comments on commit 52c661b

Please sign in to comment.