From: Michael Rasmussen Date: Thu, 11 Jun 2015 16:39:11 +0000 (+0200) Subject: Enhance security X-Git-Url: http://git.datanom.net/qtadmin.git/commitdiff_plain/181e3b1fd8edb3f279d1a6ebb6190dfc59a918b0 Enhance security --- diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 197b26f..5832d29 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -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; }