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 | 7e94c08bb2b03b4946cebcb1625d3b4be6de5514 (patch) | |
tree | f97bb0a445b026953f55ddd580988c8a47399e94 | |
parent | b54b2fd0bd56836ba3d2baa3293b0cddaf95bd08 (diff) | |
download | prosody-7e94c08bb2b03b4946cebcb1625d3b4be6de5514.tar.gz prosody-7e94c08bb2b03b4946cebcb1625d3b4be6de5514.zip |
mod_admin_telnet: Split (secure) into (authenticated) + (secure)
-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 |