1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Disable email sending after XUP signup.

This commit is contained in:
Lóna Lore
2016-12-04 20:00:59 +01:00
parent b8cfac8dd7
commit 12f8063e8d

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;