mod_sasl2_fast: Fix field name for returned secret
authorMatthew Wild <mwild1@gmail.com>
Sat, 15 Oct 2022 19:46:23 +0100
changeset 5078 1726050e9a4b
parent 5077 f158f18704c0
child 5079 ba2f1292d5fe
mod_sasl2_fast: Fix field name for returned secret
mod_sasl2_fast/mod_sasl2_fast.lua
--- 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