Commit 16d5c9488cae4a17381dec8726229be2e7de21fa
1 parent
1bdd1646
проапдейтил роли
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/controllers/RegController.php
@@ -58,7 +58,7 @@ class RegController extends Controller | @@ -58,7 +58,7 @@ class RegController extends Controller | ||
58 | $modelLogin->username = $model->username; | 58 | $modelLogin->username = $model->username; |
59 | $modelLogin->password = $model->password; | 59 | $modelLogin->password = $model->password; |
60 | $modelLogin->login(); | 60 | $modelLogin->login(); |
61 | - Mailer::widget(['type' => 'registration', 'subject'=> 'Спасибо за регистрацию', 'email' => $model->username ]); | 61 | + //Mailer::widget(['type' => 'registration', 'subject'=> 'Спасибо за регистрацию', 'email' => $model->username ]); |
62 | $this->redirect(['/iam']); | 62 | $this->redirect(['/iam']); |
63 | } | 63 | } |
64 | 64 |