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?
API Add Account and email confirmation
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: API Add Account and email confirmation
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 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?
Re: API Add Account and email confirmation
Thanks for the fast reply. Just tried that, I see how it flows - great