Skip to content

Conversation

typerandom
Copy link
Contributor

Validates that auto login and email verification features aren't enabled at the same time.

Closes #1

@rdegges
Copy link

rdegges commented Dec 22, 2015

+100 awesome fix

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional? That config.web.changePassword.enabled is not set to whatever config.web.forgotPassword.enabled is set to anymore?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it is not. Thanks for noticing! Will fix that :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it for you, and I added some tests for it too :) Please review!

@typerandom
Copy link
Contributor Author

@timothyej Looks good. Let's merge this! :)

timothyej pushed a commit that referenced this pull request Jan 13, 2016
Feature: Validate conflicting autoLogin and verifyEmail flags
@timothyej timothyej merged commit 9cd0332 into master Jan 13, 2016
@timothyej timothyej deleted the feature-auto-login-validation branch January 13, 2016 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants