Correct messages of validate of the client tls in the config

This commit is contained in:
QuantumEntangledAndy committed 2020-07-14 10:00:53 +07:00
1 parent 5d30e1a8b1
commit 5bd4c5aff4
1 file changed
+2 -2
+2 -2
View File
@@ -30,8 +30,8 @@ pub struct Config {
#[validate(regex(
path = "RE_TLS_CLIENT_AUTH",
message = "Incorrect stream format",
code = "format"
message = "Incorrect tls auth",
code = "tls_client_auth"
))]
#[serde(default = "default_tls_client_auth")]
pub tls_client_auth: String,