plugins/mod_http_file_share.lua
changeset 11340 b05331cff47a
parent 11339 b7acab5e7f57
child 11347 f125ac529c22
--- a/plugins/mod_http_file_share.lua	Fri Jan 29 15:34:15 2021 +0100
+++ b/plugins/mod_http_file_share.lua	Fri Jan 29 15:34:36 2021 +0100
@@ -162,6 +162,7 @@
 	end
 	if not authz then
 		module:log("debug", "Missing or malformed Authorization header");
+		event.response.headers.www_authenticate = "Bearer";
 		return 403;
 	end
 	local authed, upload_info = jwt.verify(secret, authz);