diff options
author | Kim Alvefur <zash@zash.se> | 2014-05-11 18:28:00 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-05-11 18:28:00 +0200 |
commit | 0ee4420961ce3899e326813e9a33ec0fdc78ade7 (patch) | |
tree | f97bb0a445b026953f55ddd580988c8a47399e94 /plugins | |
parent | 929b010f42b2f0cdee194d0c282e4246dfd7083b (diff) | |
download | prosody-0ee4420961ce3899e326813e9a33ec0fdc78ade7.tar.gz prosody-0ee4420961ce3899e326813e9a33ec0fdc78ade7.zip |
mod_admin_telnet: Split (secure) into (authenticated) + (secure)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 6e912ea0..bdd2caab 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -493,8 +493,9 @@ end local function session_flags(session, line) line = line or {}; if session.cert_identity_status == "valid" then - line[#line+1] = "(secure)"; - elseif session.secure then + line[#line+1] = "(authenticated)"; + end + if session.secure then line[#line+1] = "(encrypted)"; end if session.compressed then |