PDA

View Full Version : Data Manager API lostpw call?


TheJackal56
04-27-2008, 11:53 AM
Looking through the docs and class>user I cannot seem to find a call to initiate the lostpw function.

I am trying to simulate the lostpw via api through another page. I do not want the lostpw page to come up, but instead pass the email and have vb generate the lostpw function.

Not sure if it can be done, but if not anyone know of any alternatives to accomplishing this?

Thanks....

Opserty
04-27-2008, 11:55 AM
Check the exsisting code, I believe it is in the login.php file under the lostpw "do" request.

P.S. Data Managers are what they say on the tin, they don't perform many other functions other then to verify and set data.

TheJackal56
04-27-2008, 12:06 PM
Thanks Opserty,

I did check that code.

And yes I am trying to set data.

Opserty
04-27-2008, 12:14 PM
You said:
have vb generate the lostpw function.
This is not possible with the a datamanager, like I said you will have to use/borrow the procedural code located in login.php that deals with password resetting.

I'm not sure what else you are asking for...

TheJackal56
04-27-2008, 01:16 PM
You answered my question thx,

I will take another route.

Appreciate your help.