Example #1
0
 public function logout($root = DS)
 {
     Event::Set($this->LoggedIn, 'logout');
     AppUser::UnsetCurrent();
     $this->redirect($root);
 }