diff --git a/crates/handlers/src/views/register/password.rs b/crates/handlers/src/views/register/password.rs index 39643e972..02820fad3 100644 --- a/crates/handlers/src/views/register/password.rs +++ b/crates/handlers/src/views/register/password.rs @@ -626,7 +626,7 @@ mod tests { cookies.save_cookies(&response); response.assert_status(StatusCode::OK); assert!( - response.body().contains("Username is too long"), + response.body().contains("PostNumber is too long"), "response body: {}", response.body() ); @@ -680,7 +680,7 @@ mod tests { let response = state.request(request).await; cookies.save_cookies(&response); response.assert_status(StatusCode::OK); - assert!(response.body().contains("This username is already taken")); + assert!(response.body().contains("This postNumber is already taken")); } /// When the username is already reserved on the homeserver, it should give @@ -726,7 +726,7 @@ mod tests { let response = state.request(request).await; cookies.save_cookies(&response); response.assert_status(StatusCode::OK); - assert!(response.body().contains("This username is already taken")); + assert!(response.body().contains("This postNumber is already taken")); } /// Test registration without email when email is not required diff --git a/frontend/index.html b/frontend/index.html index cdbc8a69d..b18d81d0d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,7 +13,7 @@ Please see LICENSE files in the repository root for full details.
-