Hy,
can you help me how to create API code for forgot password in Poker Mavens with PHP language. Can you give example how to create this?
Thanks
Help for Forgot password API in php
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Help for Forgot password API in php
There's an "Allow password recovery" function (Account Settings) already built into the program so you could just use that. I haven't written any PHP code to do it manually but the basic steps would be something like this:azirus wrote: can you help me how to create API code for forgot password in Poker Mavens with PHP language. Can you give example how to create this?
Display an HTML form to prompt the player for their screen name.
Call the AccountsGet command using the API to retrieve the email address and password for that name.
Use the PHP mail() command to send that password to their email.
Display a message telling them that their password was sent to the email address on file for that account.