Skip to content

Disallow login if the user did not complete email verification #2163

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

Closed
wants to merge 1 commit into from
Closed

Disallow login if the user did not complete email verification #2163

wants to merge 1 commit into from

Conversation

cherukumilli
Copy link
Contributor

@cherukumilli cherukumilli commented Jun 28, 2016

This is a Fix for the problem described in #1958

The code adds a new config variable: allowLoginForUnverifiedEmail.
If
allowLoginForUnverifiedEmail is false and
verifyUserEmails is true and
emailVerified is false
then
/login
will fail with the following error
User email is not verified.

This code is completely backward compatible and will not break any of the existing code.

@flovilmart
Copy link
Contributor

flovilmart commented Jun 28, 2016

Thanks for the PR! That's a great enhancement.

Can you add some tests for that feature?

@flovilmart
Copy link
Contributor

Superseded by #2165

@flovilmart flovilmart closed this Jun 29, 2016
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.

3 participants