Add slot type in 403 message instead of fixed 'upload' string
This commit is contained in:
parent
1b4c02e5ca
commit
8510b8abab
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue