comparison mod_sasl2_fast/mod_sasl2_fast.lua @ 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
comparison
equal deleted inserted replaced
5073:f158f18704c0 5074:1726050e9a4b
140 local token_info = make_token(session.username, client_id, token_request.mechanism) 140 local token_info = make_token(session.username, client_id, token_request.mechanism)
141 if token_info then 141 if token_info then
142 event.success:tag("token", { 142 event.success:tag("token", {
143 xmlns = xmlns_fast; 143 xmlns = xmlns_fast;
144 expiry = dt.datetime(token_info.expires_at); 144 expiry = dt.datetime(token_info.expires_at);
145 token = token_info.token; 145 token = token_info.secret;
146 }):up(); 146 }):up();
147 end 147 end
148 end 148 end
149 end, 75); 149 end, 75);
150 150