ADmad\HybridAuth\Controller\HybridAuthController::authenticated PHP Method

authenticated() public method

Hyridauth's hauth_return_to is set to this action.
public authenticated ( ) : Response
return Cake\Network\Response
    public function authenticated()
    {
        $user = $this->Auth->identify();
        if ($user) {
            $this->Auth->setUser($user);
            return $this->redirect($this->Auth->redirectUrl());
        }
        return $this->redirect($this->Auth->config('loginAction'));
    }