Skip to content

Conversation

TylerBrock
Copy link
Contributor

@TylerBrock TylerBrock commented Jun 29, 2016

This patch allows password reset to work without requiring verifyUserEmails be true.

Currently, parse-server users verifyUserEmails within Config.validateEmailConfiguration() as a proxy for determining if an e-mail adapter was provided. That is not so great as verification of user e-mails should not be required for other e-mail based functionality to work.

Additionally this removes a hack and actually fixes the root cause of the bug in #1649 where we must verify that that appName is set for e-mail functionality to work. The spirit of the regression test for #1649 should be to check if appName is not set and fail instead of simply checking if verifyUserEmails is true.

Background: Our application uses password reset extensively but has a sign up flow that does not involve e-mail at all. It is imperative to us that password reset work without verifyUserEmails being set to true.

@TylerBrock TylerBrock force-pushed the verify-user-emails-fix branch from e9dc4f1 to 12d4b15 Compare June 29, 2016 01:51
@ghost
Copy link

ghost commented Jun 29, 2016

@TylerBrock updated the pull request.

@flovilmart
Copy link
Contributor

LGTM!

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