Browse Source

Merge pull request 'Fix typo in password message' (#8) from TheCycoONE/conduit:pwd-message-typo into master

ruma
timo 6 years ago
parent
commit
4d658b3952
  1. 2
      src/client_server.rs

2
src/client_server.rs

@ -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,
}, },
))); )));

Loading…
Cancel
Save