Fix typo in password message

This commit is contained in:
TheCycoONE 2020-04-15 21:17:33 +02:00
parent 2f63888995
commit 6d858c39ca

View file

@ -113,7 +113,7 @@ pub fn register_route(
return MatrixResult(Err(UserInteractiveAuthenticationResponse::MatrixError( return MatrixResult(Err(UserInteractiveAuthenticationResponse::MatrixError(
Error { Error {
kind: ErrorKind::InvalidParam, kind: ErrorKind::InvalidParam,
message: "Password did not met requirements".to_owned(), message: "Password did not meet requirements".to_owned(),
status_code: http::StatusCode::BAD_REQUEST, status_code: http::StatusCode::BAD_REQUEST,
}, },
))); )));