Software /
code /
prosody
Diff
plugins/mod_admin_shell.lua @ 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 |
parent | 12887:68df46926c26 |
child | 13079:e7a5e5a0dc02 |
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";