diff options
author | steckbrief <steckbrief@chefmail.de> | 2016-08-22 17:03:59 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2016-08-22 17:03:59 +0200 |
commit | 8510b8ababf9a983a6a2097fa0cf1b04a137e215 (patch) | |
tree | c746e63497d997e2abbf21e5a130bc23c6813e07 | |
parent | 1b4c02e5ca23781bef89be5e8497c0f225ff3036 (diff) |
Add slot type in 403 message instead of fixed 'upload' string
Diffstat (limited to '')
-rw-r--r-- | storage-backend/index.php | 2 |
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) { |