Software / code / prosody
Changeset
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 |
| parents | 10382:fcdc65bc6697 |
| children | 10386:cf93a951da37 |
| files | plugins/mod_admin_telnet.lua |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
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