Changeset

12293:145cb8305c67

mod_admin_shell: Squeeze some characters out of the Certificate column The more compact these are, the better
author Kim Alvefur <zash@zash.se>
date Thu, 17 Feb 2022 01:41:57 +0100
parents 12292:7fe5cd8a10e2
children 12294:81f147ddc4ab
files plugins/mod_admin_shell.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua	Thu Feb 17 01:39:35 2022 +0100
+++ b/plugins/mod_admin_shell.lua	Thu Feb 17 01:41:57 2022 +0100
@@ -819,7 +819,7 @@
 		title = "Certificate";
 		description = "Validation status of certificate";
 		key = "cert_identity_status";
-		width = 13;
+		width = 11;
 		mapper = function(cert_status, session)
 			if cert_status then return capitalize(cert_status); end
 			if session.cert_chain_status == "Invalid" then
@@ -833,7 +833,7 @@
 			elseif session.cert_identity_status == "invalid" then
 				return "Mismatched";
 			end
-			return "Not validated";
+			return "Unknown";
 		end;
 	};
 	sni = {