omab/django-social-auth — Issue #197: Allow not checking for user.is_active in complete()
Author: ustun
Created: 2011-12-18 17:44:57+00:00
State: open

Allow the developer to use `is_active` to redirect logged in users to a not authorized page, instead of redirecting them to login error.

Returning login-error for both login errors and inactive users makes it impossible to differentiate between the two sets of users.

We currently workaround this by disabling the `is_active` check in `complete()`. It would be nice if there were a setting so that it could be left as a choice.