diff --git a/frontend/src/Routes/AuthRoute.jsx b/frontend/src/Routes/AuthRoute.jsx
index 276f7aeffc..8db80d6205 100644
--- a/frontend/src/Routes/AuthRoute.jsx
+++ b/frontend/src/Routes/AuthRoute.jsx
@@ -29,16 +29,8 @@ export const AuthRoute = ({ children, navigate }) => {
useEffect(
() => {
- const isInviteFlow = !!location.state?.organizationToken;
- const isSignUpRoute = location.pathname.startsWith('/signup');
- const shouldRedirectToSignup = isSignUpRoute && organizationSlug && !isInviteFlow;
- if (shouldRedirectToSignup) {
- /* workspace signup is now allowed only for invite flow */
- navigate('/signup');
- } else {
- authenticationService.deleteAllAuthCookies();
- fetchOrganizationDetails();
- }
+ authenticationService.deleteAllAuthCookies();
+ fetchOrganizationDetails();
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[location.pathname]
diff --git a/frontend/src/SignupPage/SignupPage.jsx b/frontend/src/SignupPage/SignupPage.jsx
index 938f89cdba..d83961b305 100644
--- a/frontend/src/SignupPage/SignupPage.jsx
+++ b/frontend/src/SignupPage/SignupPage.jsx
@@ -167,148 +167,159 @@ class SignupPageComponent extends React.Component {
{this.props.t('loginSignupPage.signIn', `Sign in`)}
- {shouldShowSignupDisabledCard && (
+ {shouldShowSignupDisabledCard ? (
By signing up you are agreeing to the