Exemple #1
0
 public function GetUser()
 {
     if ($this->PluginExists('Authentication') && $this->IsAuthenticated()) {
         return \app\Authentication\model\UserModel::GetLoggedInUser();
     }
     return false;
 }
 public function Logout()
 {
     model\UserModel::Logout();
     return $this->Login();
 }