- User account is "pending"
- verificationCode is created in database, and erases when visiting the hyperlink.
- I'm able to successfully produce an activation email using the code below:
Code:
$user = craft()->users->getUserByEmail($emailAddress);
if ($user->getStatus() != "active")
{
craft()->users->sendActivationEmail($user);
- I'm redirected to the page set for activateAccountSuccessPath in config/general.php which an account edit page.
- I'm "sort of" half logged in... able to see the email address for my account filled in the edit profile form, but the CMS otherwise does not recognize me as logged in.
Any ideas?
craft_users
table, arelocked
,suspended
,pending
all set to 0 and is there anything in theverificationCode
,verificationCodeIssuedDate
andunverifiedEmail
columns?