8000 Change password form shows error "Match failed" · Issue #762 · meteor-useraccounts/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Change password form shows error "Match failed" #762
Open
@devagrawal09

Description

@devagrawal09

I used {{> atForm state="changePwd"}} in my app to change password. when i enter the new password and submit, it doesn't save, instead shows an error saying "Match failed". I get this error on the server console -

I20180523-23:40:38.158(5.5)? Exception while invoking method 'changePassword' Error: Match error: Failed Match.OneOf, Match.Maybe or Match.Optional validation
I20180523-23:40:38.167(5.5)?     at check (packages/check/match.js:36:17)
I20180523-23:40:38.169(5.5)?     at MethodInvocation.changePassword (packages/accounts-password/password_server.js:465:3)
I20180523-23:40:38.171(5.5)?     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1768:12)
I20180523-23:40:38.172(5.5)?     at DDP._CurrentMethodInvocation.withValue (packages/ddp-server/livedata_server.js:719:19)
I20180523-23:40:38.172(5.5)?     at Meteor.EnvironmentVariable.EVp.withValue (packages\meteor.js:1186:12)
I20180523-23:40:38.176(5.5)?     at DDPServer._CurrentWriteFence.withValue (packages/ddp-server/livedata_server.js:717:46)
I20180523-23:40:38.176(5.5)?     at Meteor.EnvironmentVariable.EVp.withValue (packages\meteor.js:1186:12)
I20180523-23:40:38.177(5.5)?     at Promise (packages/ddp-server/livedata_server.js:715:46)
I20180523-23:40:38.177(5.5)?     at new Promise (<anonymous>)
I20180523-23:40:38.178(5.5)?     at Session.method (packages/ddp-server/livedata_server.js:689:23)
I20180523-23:40:38.178(5.5)?     at packages/ddp-server/livedata_server.js:559:43
I20180523-23:40:38.179(5.5)? Sanitized and reported to the client as: Match failed [400]

for now I have created a custom form to change passwords, but I shouldn't if I have the useraccounts package. This issue needs to be fixed.
Im using google chrome on Windows 10.

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

      0