Beispiel #1
0
 public function action_logout()
 {
     Session::instance()->destroy();
     $this->dbms->username(NULL);
     $this->add_flash_message('You are now logged out.', 'info');
     $this->request->redirect('login');
 }