public function forceUser(UserInterface $user, $remember = true)
    {
        $user = $this->sentinel->authenticate($user, $remember);

        if ( ! ($user instanceof CartalystUserInterface)) {
            return false;
        }

        event( new CmsUserLoggedIn($user, false, true) );
        return true;
    }
public function forceUser(UserInterface $user, $remember = true)
    {
        $user = $this->sentinel->authenticate($user, $remember);

        if ( ! ($user instanceof CartalystUserInterface)) {
            return false;
        }

        event( new CmsUserLoggedIn($user, false, true) );
        return true;
    }
public function forceUser ( UserInterface $ user , $ remember = true ) { $ user = $ this -> sentinel -> authenticate ( $ user , $ remember ) ; if ( ! ( $ user instanceof CartalystUserInterface ) ) { return false ; } event ( new CmsUserLoggedIn ( $ user , false , true ) ) ; return true ; }
Forces a user to be logged in without credentials verification.

@param UserInterface|CartalystUserInterface $user
@param bool                                 $remember
@return bool
Forces a user to be logged in without credentials verification .