Example #1
0
 public function logout()
 {
     unset($_SESSION[Member::getSessionKey()]);
     $this->response->setResponseCode(302);
     $this->response->setHeader('Location', $this->getParam('rtn', '/'));
     return $this->response;
 }