Skip to content

Commit

Permalink
fix: can't login when domain like 'register.nacos.com', ie. contains …
Browse files Browse the repository at this point in the history
…register. #12670
  • Loading branch information
俱欢 committed Sep 19, 2024
1 parent 91987b0 commit e57b377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console-ui/src/utils/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const request = () => {
if (
auth_admin_request &&
auth_admin_request === 'false' &&
window.location.href.includes('/register')
window.location.hash.includes('/register')
) {
goLogin();
}
Expand Down
2 changes: 1 addition & 1 deletion console/src/main/resources/static/js/main.js

Large diffs are not rendered by default.

0 comments on commit e57b377

Please sign in to comment.