Commit 5e9bf9546c8416a02d1739cbd1c5b68b199e4f8a

Authored by Dmytry Fedorchuk
1 parent 2561bc74

restet password mail

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/controllers/LoginController.php
... ... @@ -42,7 +42,7 @@ class LoginController extends Controller
42 42 Mailer::widget(
43 43 ['type' => 'password',
44 44 'subject'=> 'Ваш пароль',
45   - 'email' => $user->email,
  45 + 'email' => $user->username,
46 46 'params' => $user,
47 47 ]);
48 48 $user->sendMsg();
... ...