aboutsummaryrefslogtreecommitdiffstats
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
commit1a78e0a7ac93b3d0b4251a865eb994bcd3e5eaba (patch)
tree537a45e01d7cc275721b9ad98cc74e9468ace2e6
parent1783288951625b5eee9f28d81bc31145530cf774 (diff)
downloadprosody-1a78e0a7ac93b3d0b4251a865eb994bcd3e5eaba.tar.gz
prosody-1a78e0a7ac93b3d0b4251a865eb994bcd3e5eaba.zip
mod_admin_telnet: Show s2s authentication method (probably) used
-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