plugins/mod_admin_shell.lua
changeset 11949 142b9c4010fe
parent 11947 cf47834d3698
child 11950 c0a01e5f5656
--- a/plugins/mod_admin_shell.lua	Thu Nov 25 18:13:43 2021 +0100
+++ b/plugins/mod_admin_shell.lua	Fri Nov 26 11:39:13 2021 +0100
@@ -726,14 +726,14 @@
 	secure = {
 		title = "Security";
 		key = "conn";
-		width = 11;
+		width = 8;
 		mapper = function(conn, session)
 			if not session.secure then return "insecure"; end
 			if not conn or not conn:ssl() then return "secure" end
 			local sock = conn and conn:socket();
-			if not sock then return "unknown TLS"; end
+			if not sock then return "secure"; end
 			local tls_info = sock.info and sock:info();
-			return tls_info and tls_info.protocol or "unknown TLS";
+			return tls_info and tls_info.protocol or "secure";
 		end;
 	};
 	encryption = {