public function actionLogin()
    {
        if ($this->module->userComponent !== true) {
            $this->info(Yii::t('podium/flash', 'Please use application Login form to sign in.'));
            return $this->module->goPodium();
        }

        $model = new LoginForm();
        if ($model->load(Yii::$app->request->post()) && $model->login()) {
            return $this->module->goPodium();
        }

        return $this->render('login', ['model' => $model]);
    }
public function actionLogin()
    {
        if ($this->module->userComponent !== true) {
            $this->info(Yii::t('podium/flash', 'Please use application Login form to sign in.'));
            return $this->module->goPodium();
        }

        $model = new LoginForm();
        if ($model->load(Yii::$app->request->post()) && $model->login()) {
            return $this->module->goPodium();
        }

        return $this->render('login', ['model' => $model]);
    }
public function actionLogin ( ) { if ( $ this -> module -> userComponent !== true ) { $ this -> info ( Yii :: t ( 'podium/flash' , 'Please use application Login form to sign in.' ) ) ; return $ this -> module -> goPodium ( ) ; } $ model = new LoginForm ( ) ; if ( $ model -> load ( Yii :: $ app -> request -> post ( ) ) && $ model -> login ( ) ) { return $ this -> module -> goPodium ( ) ; } return $ this -> render ( 'login' , [ 'model' => $ model ] ) ; }
Signing in.
@return string|Response
Signing in .