Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[headless.account.views.SignupView] Possible to prevent sign up while user logged in? #3916

Closed
mecampbellsoup opened this issue Jun 24, 2024 · 5 comments

Comments

@mecampbellsoup
Copy link
Contributor

It seems that it's possible to begin another registration/signup process for a logged-in user. Is there a simple way to disable this?

@pennersr
Copy link
Owner

The SignupView is using RedirectAuthenticatedUserMixin, Do you have ACCOUNT_AUTHENTICATED_LOGIN_REDIRECTS turned on?

@mecampbellsoup
Copy link
Contributor Author

mecampbellsoup commented Jun 27, 2024

We are using the headless API - does that account configuration setting still apply?

Do you have ACCOUNT_AUTHENTICATED_LOGIN_REDIRECTS turned on?

We do not have any override set for that so should be True.

@mecampbellsoup mecampbellsoup changed the title [Signup] Possible to prevent sign up while user logged in? [headless.account.views.SignupView] Possible to prevent sign up while user logged in? Jun 27, 2024
@pennersr
Copy link
Owner

This was indeed an issue, and I don't think it makes sense to have this behavior configurable for headless usage. Fixed via 27fcdf9

@mecampbellsoup
Copy link
Contributor Author

Thank you!

@mecampbellsoup
Copy link
Contributor Author

Do you know when you expect to cut a release for this BTW?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants