Still confused
What I need:
1. User fills websignup form
2. User get email with username / password / activation code AND link to activate account
Now he can choose to use:
- link in email to activate account or
- use activation code.
3. If user doesn't click on LINK in email, he can't login if activation code isn't typed manually
4. If user click on link in email, he can login using user/password combination (activation code isn't necessary)
Now, in my case,
if $print_activation_code is FALSE, user MUST type activation code (even if he clicked on link in email), so, link in email is unusable (but at least user email is authenticated)
if $print_activation_code is TRUE, the activation code is already filled with code after filling signup form, so, user can login without even opening email (user email isn't verified)
I need solution to check if users email is correct (without using webloginpe), but without forcing users to copy&paste activation code.
It's easy:
fill signup form - open email - click on link - fill user/pass manually
or fill signup form - open email - copy activation code - fill user/pass - paste activation code
Did I misunderstood something?