]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Enhance security
[qtadmin.git] / lib / utils.inc.php
index eec51cd2674dee5b65cfbba17a205147cb56b0b8..5832d291f0638948b38572152e1b9659c91c30e1 100644 (file)
@@ -322,7 +322,8 @@ class Utils {
         if ($this->isAdmin() || $this->getUser() == $recipient) {
             $authorized = true;
         }
         if ($this->isAdmin() || $this->getUser() == $recipient) {
             $authorized = true;
         }
-        $this->log("authorized '".$this->getUser()."'", 3);
+        $msg = ($authorized) ? 'authorize' : 'not authorize';
+        $this->log("$msg '".$this->getUser()."' rcpt '$recipient'", 3);
 
         return $authorized;
     }
 
         return $authorized;
     }
This page took 0.028107 seconds and 5 git commands to generate.