- FIX

parent d07c9613
......@@ -142,6 +142,7 @@ class UserController extends \common\components\BaseController {
$params['link'] = Yii::$app->params['frontUrl'];
var_dump($model->afterRegistration());
die;
if ($model->afterRegistration()!==true)
throw new BadRequestHttpException('asd', 500);
......
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