Correct messages of validate of the client tls in the config
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user