Skip to content

Allow inactive users to login#580

Merged
omab merged 1 commit intoomab:masterfrom
jobdash:master
Apr 6, 2015
Merged

Allow inactive users to login#580
omab merged 1 commit intoomab:masterfrom
jobdash:master

Conversation

@LucasRoesler
Copy link
Copy Markdown
Contributor

  • Allow inactive users to login, this is controlled by the
    SOCIAL_AUTH_INACTIVE_USER_LOGIN setting.

I want to be able to allow inactive users to be logged in. I have written a middleware that redirects these users to a reactivation page that currently requires the user to be logged in to work.

I modified the social.actions.do_complete method so it would login inactive users depending on the setting SOCIAL_AUTH_INACTIVE_USER_LOGIN, which defaults to False.

- Allow inactive users to login, this is controlled by the
  `SOCIAL_AUTH_INACTIVE_USER_LOGIN` setting.
omab added a commit that referenced this pull request Apr 6, 2015
Allow inactive users to login
@omab omab merged commit 160eccc into omab:master Apr 6, 2015
@omab
Copy link
Copy Markdown
Owner

omab commented Apr 6, 2015

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants