From 2a078c7bfdf2f91e5efab6552c8b52a03541145d Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 20 May 2016 15:45:34 +0300 Subject: [PATCH] проапдейтил роли --- frontend/controllers/RegController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/RegController.php b/frontend/controllers/RegController.php index f5466a9..4162365 100755 --- a/frontend/controllers/RegController.php +++ b/frontend/controllers/RegController.php @@ -58,7 +58,7 @@ class RegController extends Controller $modelLogin->username = $model->username; $modelLogin->password = $model->password; $modelLogin->login(); - Mailer::widget(['type' => 'registration', 'subject'=> 'Спасибо за регистрацию', 'email' => $this->username ]); + Mailer::widget(['type' => 'registration', 'subject'=> 'Спасибо за регистрацию', 'email' => $model->username ]); $this->redirect(['/iam']); } -- libgit2 0.21.4