aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-04-06 17:09:03 +0200
committerKim Alvefur <zash@zash.se>2023-04-06 17:09:03 +0200
commit506ee45da2853e66bf20b0d9a2c3cbee22c4b55d (patch)
treefbe3f48349eaca217861ac691df2601ca677d779
parent6d8647b3334818717c880418982b202daa9da154 (diff)
downloadprosody-506ee45da2853e66bf20b0d9a2c3cbee22c4b55d.tar.gz
prosody-506ee45da2853e66bf20b0d9a2c3cbee22c4b55d.zip
mod_admin_shell: Fix display of remote cert status when expired etc
Looks like autocomplete unhelpfully capitalized this word, but it's lowercase where it is set in mod_s2s_auth_certs
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index e1016425..ee68a64b 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -829,7 +829,7 @@ available_columns = {
width = 11;
mapper = function(cert_status, session)
if cert_status then return capitalize(cert_status); end
- if session.cert_chain_status == "Invalid" then
+ if session.cert_chain_status == "invalid" then
local cert_errors = set.new(session.cert_chain_errors[1]);
if cert_errors:contains("certificate has expired") then
return "Expired";