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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user