Commit 2a078c7bfdf2f91e5efab6552c8b52a03541145d

Authored by Administrator
1 parent 429f17c1

проапдейтил роли

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' => $this->username ]); 61 + Mailer::widget(['type' => 'registration', 'subject'=> 'Спасибо за регистрацию', 'email' => $model->username ]);
62 $this->redirect(['/iam']); 62 $this->redirect(['/iam']);
63 } 63 }
64 64