# HG changeset patch # User Kim Alvefur # Date 1678446203 -3600 # Node ID bef54306807739d0fd566b4792515e6dde982729 # Parent ac252db71027ca69133c81d6b4ce7f8cd11bcae6 mod_http_oauth2: Fix to disable disabled response handlers correctly Wrong table diff -r ac252db71027 -r bef543068077 mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 10 12:01:52 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 10 12:03:23 2023 +0100 @@ -457,7 +457,7 @@ for handler_type in pairs(response_type_handlers) do if not allowed_response_type_handlers:contains(handler_type) then module:log("debug", "Response type %q disabled", handler_type); - grant_type_handlers[handler_type] = nil; + response_type_handlers[handler_type] = nil; else module:log("debug", "Response type %q enabled", handler_type); end