aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-17 01:41:57 +0100
committerKim Alvefur <zash@zash.se>2022-02-17 01:41:57 +0100
commitf9478ab242518fede7c09928817028d768997068 (patch)
treecb13db1b5624de5c7b47a60636e7f08366912a0d
parentebcb37baa44d8fb6df8748acd5874e011c3310b3 (diff)
downloadprosody-f9478ab242518fede7c09928817028d768997068.tar.gz
prosody-f9478ab242518fede7c09928817028d768997068.zip
mod_admin_shell: Squeeze some characters out of the Certificate column
The more compact these are, the better
-rw-r--r--plugins/mod_admin_shell.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 41ea63d2..d91de248 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -819,7 +819,7 @@ available_columns = {
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 @@ available_columns = {
elseif session.cert_identity_status == "invalid" then
return "Mismatched";
end
- return "Not validated";
+ return "Unknown";
end;
};
sni = {