aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-05-11 18:28:00 +0200
committerKim Alvefur <zash@zash.se>2014-05-11 18:28:00 +0200
commit7e94c08bb2b03b4946cebcb1625d3b4be6de5514 (patch)
treef97bb0a445b026953f55ddd580988c8a47399e94 /plugins
parentb54b2fd0bd56836ba3d2baa3293b0cddaf95bd08 (diff)
downloadprosody-7e94c08bb2b03b4946cebcb1625d3b4be6de5514.tar.gz
prosody-7e94c08bb2b03b4946cebcb1625d3b4be6de5514.zip
mod_admin_telnet: Split (secure) into (authenticated) + (secure)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua5
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