diff --git a/frontend/controllers/LoginController.php b/frontend/controllers/LoginController.php index d5106bc..22f5f78 100755 --- a/frontend/controllers/LoginController.php +++ b/frontend/controllers/LoginController.php @@ -34,7 +34,7 @@ class LoginController extends Controller } public function actionForgot(){ -var_dump($_POST['User']['username']);die(); +//var_dump($_POST['Customer']['username']);die(); $model = new Customer; if(!empty($_POST['User']['username'])){ if($user = Customer::find()->where(['username'=>$_POST['User']['username']])->one()) -- libgit2 0.21.4