Diff

plugins/mod_admin_shell.lua @ 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
parent 12291:ec16fb706247
child 12304:8210c2a52e9c
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 = {