mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Merge pull request #2108 from lonalore/xupemail
Issue #2028 Disable email sending after XUP signup.
This commit is contained in:
commit
70b6dc55ec
@ -43,7 +43,7 @@ class core_system_xup_controller extends eController
|
||||
$provider = new e_user_provider($_GET['provider']);
|
||||
try
|
||||
{
|
||||
$provider->signup($this->backUrl); // redirect to test page is expected, if true - redirect to SITEURL
|
||||
$provider->signup($this->backUrl, true, false); // redirect to test page is expected, if true - redirect to SITEURL
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
@ -90,9 +90,9 @@ class core_system_xup_controller extends eController
|
||||
return;
|
||||
}
|
||||
|
||||
if(isset($_GET['lgt']))
|
||||
{
|
||||
e107::getUser()->logout();
|
||||
if(isset($_GET['lgt']))
|
||||
{
|
||||
e107::getUser()->logout();
|
||||
}
|
||||
|
||||
$profileData = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user