diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-29 15:34:15 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-29 15:34:15 +0100 |
commit | 610278afa0c0deb3c9b10b91454858e031a6fb46 (patch) | |
tree | 4b2b27ff54e49f1dd17d4ec4b8dac804095353e5 | |
parent | 0289a561e65eb736cab238cc6d5b20be7aad3482 (diff) | |
download | prosody-610278afa0c0deb3c9b10b91454858e031a6fb46.tar.gz prosody-610278afa0c0deb3c9b10b91454858e031a6fb46.zip |
mod_http_file_share: Clarify message about missing Authorization header
-rw-r--r-- | plugins/mod_http_file_share.lua | 2 |
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); |