Diff

mod_http_oauth2/mod_http_oauth2.lua @ 5190:1733f184e2bb

mod_http_oauth2: Fix to actually return OOB response
author Kim Alvefur <zash@zash.se>
date Fri, 03 Mar 2023 14:22:05 +0100
parent 5189:4ee8eb1134a8
child 5191:f5a58cbe86e4
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Fri Mar 03 11:24:05 2023 +0000
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Fri Mar 03 14:22:05 2023 +0100
@@ -129,6 +129,7 @@
 			message = "Here's your authorization code, copy and paste it into your app:";
 			extra = code;
 		}) or ("Here's your authorization code:\n%s\n"):format(code);
+		return response;
 	end
 
 	local redirect = url.parse(redirect_uri);