/**
  * Creates a new Admin model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     $model = new AdminAuth();
     $model->scenario = 'create';
     //$this->ajaxValidate($model);
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         Yii::$app->getSession()->setFlash('success', Yii::t('admin', 'Entry has been saved successfully'));
         return $this->redirect(['view', 'id' => $model->intAdminID]);
     } else {
         return $this->render('create', ['model' => $model]);
     }
 }