]> git.datanom.net - qtadmin.git/commitdiff
Enhance security
authorMichael Rasmussen <mir@datanom.net>
Thu, 11 Jun 2015 16:39:11 +0000 (18:39 +0200)
committerMichael Rasmussen <mir@datanom.net>
Thu, 11 Jun 2015 16:39:11 +0000 (18:39 +0200)
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.039165 seconds and 5 git commands to generate.