From 181e3b1fd8edb3f279d1a6ebb6190dfc59a918b0 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Thu, 11 Jun 2015 18:39:11 +0200 Subject: [PATCH] Enhance security --- lib/utils.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2