Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeforeSave Hook recieves invalid object when verifying emails #4503

Closed
elios264 opened this issue Jan 16, 2018 · 1 comment
Closed

BeforeSave Hook recieves invalid object when verifying emails #4503

elios264 opened this issue Jan 16, 2018 · 1 comment

Comments

@elios264
Copy link

elios264 commented Jan 16, 2018

We use GitHub Issues for bugs.

Issue Description

The beforeSave hook when verifying an email receives an invalid object for Parse.User:

capture

the object has no Id, so calling object.dirty always returns true and all my validations fail.

Environment Setup

  • Server
    • parse-server version 2.7.1
    • Operating System: Windows 10
    • Localhost or remote server? localhost

EDIT:

This only happens when using:

emailVerifyTokenValidityDuration

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

1 participant