|
|
@ -127,11 +127,16 @@ function dosettings($data, $user) |
|
|
|
{ |
|
|
|
{ |
|
|
|
case 'EMail': |
|
|
|
case 'EMail': |
|
|
|
$email = getparam('email', false); |
|
|
|
$email = getparam('email', false); |
|
|
|
|
|
|
|
if (stripos($email, 'hotmail') !== false) |
|
|
|
|
|
|
|
$err = 'hotmail not allowed'; |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
$pass = getparam('pass', false); |
|
|
|
$pass = getparam('pass', false); |
|
|
|
$twofa = getparam('2fa', false); |
|
|
|
$twofa = getparam('2fa', false); |
|
|
|
$ans = userSettings($user, $email, null, $pass, $twofa); |
|
|
|
$ans = userSettings($user, $email, null, $pass, $twofa); |
|
|
|
$err = 'EMail changed'; |
|
|
|
$err = 'EMail changed'; |
|
|
|
$check = true; |
|
|
|
$check = true; |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'Address': |
|
|
|
case 'Address': |
|
|
|
if (!isset($data['info']['u_multiaddr'])) |
|
|
|
if (!isset($data['info']['u_multiaddr'])) |
|
|
@ -213,7 +218,7 @@ function dosettings($data, $user) |
|
|
|
$old = $_SESSION['old_set_email']; |
|
|
|
$old = $_SESSION['old_set_email']; |
|
|
|
else |
|
|
|
else |
|
|
|
$old = null; |
|
|
|
$old = null; |
|
|
|
emailAddressChanged($email, zeip(), $emailinfo, $old); |
|
|
|
# emailAddressChanged($email, zeip(), $emailinfo, $old); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'Address': |
|
|
|
case 'Address': |
|
|
|
payoutAddressChanged($email, zeip(), $emailinfo); |
|
|
|
payoutAddressChanged($email, zeip(), $emailinfo); |
|
|
|