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