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) (#12671)

Co-authored-by: 俱欢 <juhuan.wy@antfin.com>
  • Loading branch information
juhuan and 俱欢 authored Sep 27, 2024
1 parent 5aade0d commit 33ae058
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 33ae058

Please sign in to comment.