Skip to content

Login with facebook  #3

Description

@Machacek76

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'));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions