]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Enhance security
[qtadmin.git] / lib / utils.inc.php
index 0b9fe701e4a17199b9807c8e44f39e7363c91457..eec51cd2674dee5b65cfbba17a205147cb56b0b8 100644 (file)
@@ -317,9 +317,12 @@ class Utils {
     public function authorized($recipient) {
         $authorized = false;
 
+        $this->log("authorized '$recipient'", 3);
+
         if ($this->isAdmin() || $this->getUser() == $recipient) {
             $authorized = true;
         }
+        $this->log("authorized '".$this->getUser()."'", 3);
 
         return $authorized;
     }
This page took 0.028189 seconds and 5 git commands to generate.