Diff

mod_http_oauth2/mod_http_oauth2.lua @ 5794:72799c330986

mod_http_oauth2: Add logger to "session" for auth event So many assumptions in so many other modules about auth-success/fail
author Kim Alvefur <zash@zash.se>
date Mon, 04 Dec 2023 21:36:35 +0100
parent 5793:990c6adc4407
child 5819:93d6e9026c1b
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Mon Dec 04 21:07:54 2023 +0100
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Mon Dec 04 21:36:35 2023 +0100
@@ -649,6 +649,7 @@
 				conn = request.conn;
 				username = username;
 				host = module.host;
+				log = request.log;
 				sasl_handler = { username = username; selected = "x-www-form" };
 				client_id = request.headers.user_agent;
 			};