- DEBUGGING

parent 0e20bf31
...@@ -580,6 +580,13 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter ...@@ -580,6 +580,13 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
if ($exists===true) { if ($exists===true) {
$init = $trigger->initAction($params); $init = $trigger->initAction($params);
if ($init===true) { 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; return true;
} else { } else {
$this->addError('email', $init); $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