Closed
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
If Parse Server options verifyUserEmails
and preventLoginWithUnverifiedEmail
are set as functions, the parameters passed to the function on login are missing the user that is attempting to logging in.
Feature / Enhancement Description
Add user to function argument. On sign-up or email update, the user is already available as argument in the functions mentioned above, as object
and original
, in the same form as a beforeSave / afterSave trigger. On login there is no change of the user object, but for compatibility the user object could be made available as object
parameter.