Changeset

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
parents 4525:b68b801ddc50
children 4527:9a6aaba3d5ef
files mod_rest/mod_rest.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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