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. (alibaba#12670)
  • Loading branch information
俱欢 authored and juhuan committed Sep 26, 2024
1 parent 91987b0 commit f233df2
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 f233df2

Please sign in to comment.