- DEBUGGING

parent 0e20bf31
......@@ -580,6 +580,13 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
if ($exists===true) {
$init = $trigger->initAction($params);
if ($init===true) {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, '/triggers/default/rechecktriggers');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
if (!curl_exec($curl)) {
$this->addError('email', curl_error($curl));
return false;
}
return true;
} else {
$this->addError('email', $init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment