1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Fix for resending a single re-activation email when password-input is disabled during signup (ie. auto-generated)

This commit is contained in:
Cameron
2015-05-21 16:53:10 -07:00
parent d5af6beb9f
commit 37cb23c674
3 changed files with 43 additions and 15 deletions

View File

@@ -1264,7 +1264,13 @@ class e_system_user extends e_user_model
elseif (vartrue($EMAIL_TEMPLATE['signup']['attachments'])) { $ret['email_attach'] = $EMAIL_TEMPLATE['signup']['attachments']; }
$style = vartrue($SIGNUPEMAIL_LINKSTYLE) ? "style='{$SIGNUPEMAIL_LINKSTYLE}'" : "";
if(empty($userInfo['activation_url']) && !empty($userInfo['user_sess']) && !empty($userInfo['user_id']))
{
$userInfo['activation_url'] = SITEURL."signup.php?activate.".$userInfo['user_id'].".".$userInfo['user_sess'];
}
$sc = array();