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