Software /
code /
prosody-modules
Diff
mod_rest/mod_rest.lua @ 4526:23b681214be3
mod_rest: Remove inaccurate comment
It also checks Basic auth here. Removing since it doesn't seem to add
much.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Mar 2021 20:23:35 +0100 |
parent | 4514:81d0748bff5b |
child | 4532:183c2abdc3c4 |
line wrap: on
line diff
--- 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