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