login with facebook and user clicked on Storno returned error
public function actionFbLogin(){
if ($this->context->facebook->getUser()){
$me = $this->context->facebook->api('/me');
$identity = $this->context->facebookAuthenticator->authenticate($me);
$this->getUser()->login($identity);
}else{
$this->flashMessage('Cancelled loged with Facebook .');
}
$this->redirect('Homepage:', array("refresh" => 'true'));
}
login with facebook and user clicked on Storno returned error
public function actionFbLogin(){
if ($this->context->facebook->getUser()){
$me = $this->context->facebook->api('/me');
$identity = $this->context->facebookAuthenticator->authenticate($me);
$this->getUser()->login($identity);
}else{
$this->flashMessage('Cancelled loged with Facebook .');
}
$this->redirect('Homepage:', array("refresh" => 'true'));
}