Commit b2f451915998b0d919fb101611681c1e87d30f7b
1 parent
462ce364
restet password mail
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
common/widgets/views/password.php
| ... | ... | @@ -12,4 +12,5 @@ $resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 't |
| 12 | 12 | <p>Follow the link below to reset your password:</p> |
| 13 | 13 | |
| 14 | 14 | <p><?= Html::a(Html::encode($resetLink), $resetLink) ?></p> |
| 15 | -</div> | |
| 16 | 15 | \ No newline at end of file |
| 16 | +</div> | |
| 17 | +<?php die();?> | |
| 17 | 18 | \ No newline at end of file | ... | ... |
frontend/controllers/LoginController.php
| ... | ... | @@ -34,7 +34,6 @@ class LoginController extends Controller |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | public function actionForgot(){ |
| 37 | -//var_dump($_POST['Customer']['username']);die(); | |
| 38 | 37 | $model = new Customer; |
| 39 | 38 | if(!empty($_POST['Customer']['username'])){ |
| 40 | 39 | if($user = Customer::find()->where(['username'=>$_POST['Customer']['username']])->one()) | ... | ... |