mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
set default message for CertificateRequest status code
This commit is contained in:
parent
8414d44cdf
commit
5d8c036957
@ -887,7 +887,7 @@ impl Page {
|
|||||||
None => match response.status() {
|
None => match response.status() {
|
||||||
gemini::client::response::meta::Status::CertificateUnauthorized => Some("Certificate not authorized"),
|
gemini::client::response::meta::Status::CertificateUnauthorized => Some("Certificate not authorized"),
|
||||||
gemini::client::response::meta::Status::CertificateInvalid => Some("Certificate not valid"),
|
gemini::client::response::meta::Status::CertificateInvalid => Some("Certificate not valid"),
|
||||||
_ => None
|
_ => Some("Client certificate required")
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user