changeset 5074:1726050e9a4b

mod_sasl2_fast: Fix field name for returned secret
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Oct 2022 19:46:23 +0100
parents f158f18704c0
children ba2f1292d5fe
files mod_sasl2_fast/mod_sasl2_fast.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_sasl2_fast/mod_sasl2_fast.lua	Sat Oct 15 19:45:53 2022 +0100
+++ b/mod_sasl2_fast/mod_sasl2_fast.lua	Sat Oct 15 19:46:23 2022 +0100
@@ -142,7 +142,7 @@
 			event.success:tag("token", {
 				xmlns = xmlns_fast;
 				expiry = dt.datetime(token_info.expires_at);
-				token = token_info.token;
+				token = token_info.secret;
 			}):up();
 		end
 	end