1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Merge pull request #2108 from lonalore/xupemail

Issue #2028 Disable email sending after XUP signup.
This commit is contained in:
Cameron
2016-12-04 11:23:43 -08:00
committed by GitHub

View File

@@ -43,7 +43,7 @@ class core_system_xup_controller extends eController
$provider = new e_user_provider($_GET['provider']); $provider = new e_user_provider($_GET['provider']);
try 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) catch (Exception $e)
{ {
@@ -90,9 +90,9 @@ class core_system_xup_controller extends eController
return; return;
} }
if(isset($_GET['lgt'])) if(isset($_GET['lgt']))
{ {
e107::getUser()->logout(); e107::getUser()->logout();
} }
$profileData = null; $profileData = null;