private function _login($credentials) {
        $this->getService('com:people.helper.person')->login($credentials);
        $this->getService('application.dispatcher')
        ->getResponse()
        ->setRedirect($this->_getCurrentUrl())
        ->send();
    }
private function _login($credentials) {
        $this->getService('com:people.helper.person')->login($credentials);
        $this->getService('application.dispatcher')
        ->getResponse()
        ->setRedirect($this->_getCurrentUrl())
        ->send();
    }
private function _login ( $ credentials ) { $ this -> getService ( 'com:people.helper.person' ) -> login ( $ credentials ) ; $ this -> getService ( 'application.dispatcher' ) -> getResponse ( ) -> setRedirect ( $ this -> _getCurrentUrl ( ) ) -> send ( ) ; }
Loggin the user and keep them logged in

@param array array('username' => 'janesmith', 'password' => 'somethingsecure')
@return void
Loggin the user and keep them logged in