# HG changeset patch # User Kim Alvefur # Date 1616527415 -3600 # Node ID 23b681214be35afe1bd8142ebc64f34a3ad50b1a # Parent b68b801ddc50b9171bf23ba99da81041279958e1 mod_rest: Remove inaccurate comment It also checks Basic auth here. Removing since it doesn't seem to add much. diff -r b68b801ddc50 -r 23b681214be3 mod_rest/mod_rest.lua --- a/mod_rest/mod_rest.lua Tue Mar 23 17:44:49 2021 +0100 +++ b/mod_rest/mod_rest.lua Tue Mar 23 20:23:35 2021 +0100 @@ -31,7 +31,6 @@ www_authenticate_header = table.concat(header, ", "); end --- Bearer token local function check_credentials(request) local auth_type, auth_data = string.match(request.headers.authorization, "^(%S+)%s(.+)$"); if not (auth_type and auth_data) or not auth_mechanisms:contains(auth_type) then