You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
...
public function actions()
{
return array(
// captcha action renders the CAPTCHA image displayed on the contact page
'captcha'=>array(
'class'=>'CCaptchaAction',
'backColor'=>0xFFFFFF,
),
// page action renders "static" pages stored under 'protected/views/site/pages'
// They can be accessed via: index.php?r=site/page&view=FileName
'page'=>array(
'class'=>'CViewAction',
),
'login' => array(
'class' => 'ext.yii-simplesamlphp.actions.LoginAction',
'simplesamlphpComponentName' => 'simplesamlphp',
'redirectAfterLoginTo' => array('/index.php/pegawai'),
),
'logout' => array(
'class' => 'ext.yii-simplesamlphp.actions.LogoutAction',
'simplesamlphpComponentName' => 'simplesamlphp',
'redirectAfterLogoutTo' => array('/logoutex.php'),
),
);
}
/**
* This is the default 'index' action that is invoked
* when an action is not explicitly requested by users.
*/
public function actionIndex()
{
if (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE')){
$this->render('logi') ;}
else {
if (Yii::app()->user->isGuest) {
Yii::app()->simplesamlphp->login();
} else {
$this->redirect(Yii::app()->request->baseUrl.'/index.php/pegawai');
}
}
}
can you help me please..
The text was updated successfully, but these errors were encountered:
I think there is problem with your simplesamlphp's session storage, and i thik it is very similar like #1. Do you change your simplesamlphp's session storage? Can you try use database for your session storage?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi asasmoyo, i tried to use simplesaml in my yii aplication..
i already follow your instruction.. but i found this error..
this is my main.php in config..
and this is my sitecontroller.php..
can you help me please..
The text was updated successfully, but these errors were encountered: