aboutsummaryrefslogtreecommitdiffstats
path: root/storage-backend/index.php
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-08-22 17:03:59 +0200
committersteckbrief <steckbrief@chefmail.de>2016-08-22 17:03:59 +0200
commit8510b8ababf9a983a6a2097fa0cf1b04a137e215 (patch)
treec746e63497d997e2abbf21e5a130bc23c6813e07 /storage-backend/index.php
parent1b4c02e5ca23781bef89be5e8497c0f225ff3036 (diff)
Add slot type in 403 message instead of fixed 'upload' string
Diffstat (limited to '')
-rw-r--r--storage-backend/index.php2
1 files changed, 1 insertions, 1 deletions
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) {