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

Saving user as inactive in a pipeline, causes redirect to login error #194

Closed
neara opened this issue Feb 20, 2014 · 2 comments
Closed

Saving user as inactive in a pipeline, causes redirect to login error #194

neara opened this issue Feb 20, 2014 · 2 comments

Comments

@neara
Copy link

neara commented Feb 20, 2014

I added 3 more pipelines, in one i get user email, and then continue to last pipeline where i map data from social vendor to my user model. Here i send registration email, and save the user as is_active = False, doing this causes upon finish a redirect to login error. No exception is thrown, everything is created as it should, but the user ends up in login error screen.
This appeared after last update, python-social-auth==0.1.21.

@omab
Copy link
Owner

omab commented Feb 21, 2014

I don't recall any change to that behavior lately, inactive users should go to the URL defined by SOCIAL_AUTH_INACTIVE_USER_URL, if that setting is not defined it will default to LOGIN_ERROR_URL.

@neara
Copy link
Author

neara commented Feb 23, 2014

Oh, that's probably the case. I didn't define SOCIAL_AUTH_INACTIVE_USER_URL.
Will try it out.

Thank you!

@neara neara closed this as completed Feb 23, 2014
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