Arguments missing or incorrect in verifyUserEmails
on verificationEmailRequest
#8874
Closed
4 tasks done
Labels
state:breaking
Breaking change requires major version increment and `BREAKING CHANGE` commit message
type:feature
New feature or improvement of existing feature
Uh oh!
There was an error while loading. Please reload this page.
New Issue Checklist
Issue Description
There are several issues if the Parse Server option
verifyUserEmails
is set to a function and the email verification email is re-requested via theverificationEmailRequest
REST endpoint or viaParse.User.requestEmailVerification
:verifyUserEmails
is calleduser
, but in all other cases it is calledobject
.verifyUserEmails
is a plain JS object, not aParse.User
object as in all other cases.In addition, it cannot be determined whether the
verifyUserEmails
is called due to a signup or login, or because the verification email is manually re-requested. Therefore it's not easily possible to limit the frequency with which a user can re-request verification emails.Steps to reproduce
Actual Outcome
Test fails.
Expected Outcome
Test should pass.
Environment
Server
[7.0.0-alpha.4](https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.4)
The text was updated successfully, but these errors were encountered: