diff options
author | Kim Alvefur <zash@zash.se> | 2023-04-19 11:42:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-04-19 11:42:36 +0200 |
commit | 6114ccee1132f7165b65982d7056611482495d15 (patch) | |
tree | 7035bba3898a7c9db4279de35a717b3e518b18da /plugins | |
parent | 0d5af426ca380385d99cbc78a0bc9a40ff0e9890 (diff) | |
parent | 57c37716145d1383e861c390c4953f41e81dfdb3 (diff) | |
download | prosody-6114ccee1132f7165b65982d7056611482495d15.tar.gz prosody-6114ccee1132f7165b65982d7056611482495d15.zip |
Merge 0.12->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_shell.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 217a827b..91104cd6 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -903,7 +903,7 @@ available_columns = { width = math.max(#"Expired", #"Self-signed", #"Untrusted", #"Mismatched", #"Unknown"); 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"; |