aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-02 16:02:37 +0100
committerKim Alvefur <zash@zash.se>2019-11-02 16:02:37 +0100
commit2a10ceae09f3bc7e0978e3a3d57943dccc232e9f (patch)
tree537a45e01d7cc275721b9ad98cc74e9468ace2e6 /plugins/mod_admin_telnet.lua
parentbf12db8122dd4e36b2e386a91da583253f114101 (diff)
downloadprosody-2a10ceae09f3bc7e0978e3a3d57943dccc232e9f.tar.gz
prosody-2a10ceae09f3bc7e0978e3a3d57943dccc232e9f.zip
mod_admin_telnet: Show s2s authentication method (probably) used
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index afb4fb4b..2bbd367b 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -538,6 +538,12 @@ local function session_flags(session, line)
if session.cert_identity_status == "valid" then
line[#line+1] = "(authenticated)";
end
+ if session.dialback_key then
+ line[#line+1] = "(dialback)";
+ end
+ if session.external_auth then
+ line[#line+1] = "(SASL)";
+ end
if session.secure then
line[#line+1] = "(encrypted)";
end