Commit bb50c49343fe6cf5f7dfa2b565ce53342e06a016

Authored by Dmytry Fedorchuk
1 parent 9683a1f4

images

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/controllers/LoginController.php
@@ -34,7 +34,7 @@ class LoginController extends Controller @@ -34,7 +34,7 @@ class LoginController extends Controller
34 } 34 }
35 35
36 public function actionForgot(){ 36 public function actionForgot(){
37 -var_dump($_POST['User']['username']);die(); 37 +//var_dump($_POST['Customer']['username']);die();
38 $model = new Customer; 38 $model = new Customer;
39 if(!empty($_POST['User']['username'])){ 39 if(!empty($_POST['User']['username'])){
40 if($user = Customer::find()->where(['username'=>$_POST['User']['username']])->one()) 40 if($user = Customer::find()->where(['username'=>$_POST['User']['username']])->one())