Skip to content

Add Parse.User as function parameter to verifyUserEmails on login #8851

Closed
@mtrezza

Description

@mtrezza

New Feature / Enhancement Checklist

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions