API Add Account and email confirmation

For discussion of the Poker Mavens server module and other administration topics
Post Reply
salmon
Posts: 2
Joined: Sat Dec 05, 2009 7:52 pm

API Add Account and email confirmation

Post by salmon »

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?
Kent Briggs
Site Admin
Posts: 5879
Joined: Wed Mar 19, 2008 8:47 pm

Re: API Add Account and email confirmation

Post by Kent Briggs »

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.
salmon
Posts: 2
Joined: Sat Dec 05, 2009 7:52 pm

Re: API Add Account and email confirmation

Post by salmon »

Thanks for the fast reply. Just tried that, I see how it flows - great :)
Post Reply