We use logintoboggan on our site and I wanted to use shared email as well, but registering as a new user broke with email confirmation, this is a quick fix:

After line 85 add:
$edit['conf_mail']= 'sharedemail_'. $mail;

After line 96 add:
$edit['conf_mail'] = str_replace('sharedemail_', '', $mail);

Comments

aufumy’s picture

Assigned: Unassigned » aufumy
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Rosamunda’s picture

I´m sorry is this fix commited to the current stable version?
Thanks!
Rosamunda

muhleder’s picture

Hi Rosamunda,

looks like this fix is just in the CVS version.

Mark

aufumy’s picture

should have added a release earlier. Now done.

alex’s picture

This solution bypasses the logintoboggan validation for existing emails, making it appear broken
Should be

 if (module_exists('logintoboggan') && isset($edit['conf_mail'])) {
          $edit['conf_mail'] = 'sharedemail_'. $edit['conf_mail'];
        }