Skip to content

validateEmailConfiguration should be called when sending reset password email #1649

Closed
@natanrolnik

Description

@natanrolnik

Environment Setup

Parse Server 2.2.7 on Heroku

Steps to reproduce

  • Configure an Email Adapter in index.js
  • Don't configure app name and/or public server URL
  • Request a reset password email via requestPasswordReset

Result

Users will receive an email with title "Password reset for undefined", and body:

"You requested to reset your password for undefined. Click here to reset it: undefined/apps/....."

Expected Result

validateEmailConfiguration or some variation of it should be called before sending reset password emails, to make sure that both app name and public server url were set correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions