Beispiel #1
0
 public function actionForgot()
 {
     $form = new ForgotForm();
     if (isset($_POST['ForgotForm'])) {
         $form->attributes = $_POST['ForgotForm'];
         if ($form->save()) {
             $this->render('forgot_success');
             Yii::app()->end();
         }
     }
     $this->render('forgot', array('forgotform' => $form));
 }