Parse - recover password functionality

Anyone has implemented this?

When I call

parse:requestPassword( { ["email"] = email }, onRequestPassword )  

I am always getting “Invalid email error”.

Does the user you are trying to recover have his email verified?

And how does Parse know for which user to recover password??? (you only send email in the request)

Anyone has implemented this?

When I call

parse:requestPassword( { [“email”] = email }, onRequestPassword )  

I am always getting “Invalid email error”.

Does the user you are trying to recover have his email verified?

And how does Parse know for which user to recover password??? (you only send email in the request)

Hi ubj3d.android,

I just ran into this issue myself and I realize this post is from a few months ago, but figured I would post the quick solution in-case others look for this like we were!

when calling 

parse:requestPassword();

instead of sending in a table with the email address, like this:

parse:requestPassword( { [“email”] = “myEmailAddress”}, onRequestPassword)

You actually only need to send in the email itself, like so:

parse:requestPassword ( “myEmailAddress”, onRequestPassword);


As of this moment, it still says a data table is needed in the Mod_Parse docs, but I’ll submit an issue request to Develephant to see if they can change that in the documentation.

Best,

Kasen

Hi,

I’ve updated the documentation.  If you run into any other issues, let me know.

Cheers.

Anyone has implemented this?

When I call

parse:requestPassword( { [“email”] = email }, onRequestPassword )  

I am always getting “Invalid email error”.

Does the user you are trying to recover have his email verified?

And how does Parse know for which user to recover password??? (you only send email in the request)

Hi ubj3d.android,

I just ran into this issue myself and I realize this post is from a few months ago, but figured I would post the quick solution in-case others look for this like we were!

when calling 

parse:requestPassword();

instead of sending in a table with the email address, like this:

parse:requestPassword( { [“email”] = “myEmailAddress”}, onRequestPassword)

You actually only need to send in the email itself, like so:

parse:requestPassword ( “myEmailAddress”, onRequestPassword);


As of this moment, it still says a data table is needed in the Mod_Parse docs, but I’ll submit an issue request to Develephant to see if they can change that in the documentation.

Best,

Kasen

Hi,

I’ve updated the documentation.  If you run into any other issues, let me know.

Cheers.