From 8510b8ababf9a983a6a2097fa0cf1b04a137e215 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 22 Aug 2016 17:03:59 +0200 Subject: Add slot type in 403 message instead of fixed 'upload' string --- storage-backend/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage-backend') diff --git a/storage-backend/index.php b/storage-backend/index.php index eae06ef..a7c79d3 100644 --- a/storage-backend/index.php +++ b/storage-backend/index.php @@ -67,7 +67,7 @@ switch ($method) { // Check if xmppServerKey is allowed to request slots if (false === checkXmppServerKey($config['valid_xmpp_server_keys'], $xmppServerKey)) { - sendHttpReturnCodeAndJson(403, 'Server is not allowed to request an upload slot'); + sendHttpReturnCodeAndJson(403, 'Server is not allowed to request an '.$slotType.' slot'); } switch ($slotType) { -- cgit v1.2.3