API Add Account and email confirmation

For discussion of the Poker Mavens server module and other administration topics

API Add Account and email confirmation

Postby salmon » Sat Dec 05, 2009 7:56 pm

What are the steps to ensure that a user must confirm email when their account is registered via the API?

In other words - when I use AccountsAdd with the API I specify an email address. How do I ensure that user must confirm their email before their account is activated? Something to do with the valcode parameter?
salmon
 
Posts: 2
Joined: Sat Dec 05, 2009 7:52 pm

Re: API Add Account and email confirmation

Postby Kent Briggs » Sat Dec 05, 2009 8:41 pm

salmon wrote:What are the steps to ensure that a user must confirm email when their account is registered via the API?

In other words - when I use AccountsAdd with the API I specify an email address. How do I ensure that user must confirm their email before their account is activated? Something to do with the valcode parameter?


The built-in email validation was only designed for self-created accounts inside the flash client. However, after creating the account via the API, you can call AccountsEdit and write a random 5-digit number to the ValCode field and then send the email yourself.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3944
Joined: Wed Mar 19, 2008 8:47 pm

Re: API Add Account and email confirmation

Postby salmon » Sat Dec 05, 2009 9:12 pm

Thanks for the fast reply. Just tried that, I see how it flows - great :)
salmon
 
Posts: 2
Joined: Sat Dec 05, 2009 7:52 pm


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 4 guests

cron