diff --git a/crates/adapters/http-axum/templates/profile.html b/crates/adapters/http-axum/templates/profile.html index f8ba0a75..1cd77b55 100644 --- a/crates/adapters/http-axum/templates/profile.html +++ b/crates/adapters/http-axum/templates/profile.html @@ -103,7 +103,7 @@ {% if let Some(err) = error %}

{{ err }}

{% endif %} -

This user and all their data will be permanently deleted. Enter your own password to confirm.

+

This user and all their data will be permanently deleted, fediverse servers are notified, and the username is retired for good. Enter your own password to confirm.

diff --git a/crates/bootstrap/tests/account_deletion_test.rs b/crates/bootstrap/tests/account_deletion_test.rs index 4b285c02..1b11a922 100644 --- a/crates/bootstrap/tests/account_deletion_test.rs +++ b/crates/bootstrap/tests/account_deletion_test.rs @@ -285,6 +285,8 @@ async fn delete_forms_render_only_where_they_apply() { // A non-admin viewing someone else, and anonymous viewers, see no form. let bob_page = format!("/users/{}", bob.user_id); + let (_, _, body) = send(&router, get(&bob_page, None)).await; + assert!(!body.contains(&user_delete(&bob.user_id)), "anonymous"); let (_, _, body) = send(&router, get(&bob_page, Some(&alice.cookie))).await; assert!(!body.contains(&user_delete(&bob.user_id)), "non-admin");