aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-29 15:34:15 +0100
committerKim Alvefur <zash@zash.se>2021-01-29 15:34:15 +0100
commit610278afa0c0deb3c9b10b91454858e031a6fb46 (patch)
tree4b2b27ff54e49f1dd17d4ec4b8dac804095353e5 /plugins
parent0289a561e65eb736cab238cc6d5b20be7aad3482 (diff)
downloadprosody-610278afa0c0deb3c9b10b91454858e031a6fb46.tar.gz
prosody-610278afa0c0deb3c9b10b91454858e031a6fb46.zip
mod_http_file_share: Clarify message about missing Authorization header
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_file_share.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua
index e9c00399..d960e853 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -161,7 +161,7 @@ function handle_upload(event, path) -- PUT /upload/:slot
authz = authz:match("^Bearer (.*)")
end
if not authz then
- module:log("debug", "Missing Authorization");
+ module:log("debug", "Missing or malformed Authorization header");
return 403;
end
local authed, upload_info = jwt.verify(secret, authz);