Software /
code /
prosody
Changeset
13077:de42a93a7c8d 0.12
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
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Apr 2023 17:09:03 +0200 |
parents | 13057:20b1526772d2 |
children | 13078:6da83deb8d7f |
files | plugins/mod_admin_shell.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Fri Apr 07 15:54:59 2023 +0100 +++ b/plugins/mod_admin_shell.lua Thu Apr 06 17:09:03 2023 +0200 @@ -829,7 +829,7 @@ 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";