Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 10383:496248e48a1d
mod_admin_telnet: Show s2s authentication method (probably) used
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Nov 2019 16:02:37 +0100 |
parent | 10310:b03065cd033a |
child | 10424:e7d3fa49495f |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sat Nov 02 15:43:56 2019 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Nov 02 16:02:37 2019 +0100 @@ -538,6 +538,12 @@ 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