Software /
code /
prosody-modules
Changeset
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 |
parents | 5793:990c6adc4407 |
children | 5795:5ff8022466ab |
files | mod_http_oauth2/mod_http_oauth2.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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; };