diff --git a/web/src/App.js b/web/src/App.js index c910e91c9d1d..9f8d2856631f 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -721,7 +721,6 @@ class App extends Component { window.location.pathname.startsWith("/prompt") || window.location.pathname.startsWith("/result") || window.location.pathname.startsWith("/cas") || - window.location.pathname.startsWith("/auto-signup") || window.location.pathname.startsWith("/select-plan") || window.location.pathname.startsWith("/buy-plan") || window.location.pathname.startsWith("/qrcode") ; diff --git a/web/src/EntryPage.js b/web/src/EntryPage.js index 9884fc2f36b4..f8a267acb238 100644 --- a/web/src/EntryPage.js +++ b/web/src/EntryPage.js @@ -99,7 +99,6 @@ class EntryPage extends React.Component { this.renderHomeIfLoggedIn()} /> this.renderHomeIfLoggedIn()} /> this.renderHomeIfLoggedIn()} /> - } /> } /> } /> } /> diff --git a/web/src/Setting.js b/web/src/Setting.js index 74842d15bb4e..b6526d033c50 100644 --- a/web/src/Setting.js +++ b/web/src/Setting.js @@ -1164,8 +1164,8 @@ export function getLoginLink(application) { let url; if (application === null) { url = null; - } else if (window.location.pathname.includes("/auto-signup/oauth/authorize")) { - url = window.location.href.replace("/auto-signup/oauth/authorize", "/login/oauth/authorize"); + } else if (window.location.pathname.includes("/signup/oauth/authorize")) { + url = window.location.href.replace("/signup/oauth/authorize", "/login/oauth/authorize"); } else if (authConfig.appName === application.name) { url = "/login"; } else if (application.signinUrl === "") { @@ -1216,7 +1216,7 @@ export function renderSignupLink(application, text) { if (application === null) { url = null; } else if (window.location.pathname.includes("/login/oauth/authorize")) { - url = window.location.href.replace("/login/oauth/authorize", "/auto-signup/oauth/authorize"); + url = window.location.href.replace("/login/oauth/authorize", "/signup/oauth/authorize"); } else if (authConfig.appName === application.name) { url = "/signup"; } else {