Add delete link to account page

devel
Emi Tatsuo 2 years ago
parent 65fe416973
commit bfaa81d9d0
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B

@ -407,7 +407,9 @@ fn render_settings_menu<UserData: Serialize + DeserializeOwned>(
.add_blank_line()
.add_link("/account/password", if user.has_password() { "Change password" } else { "Set password" });
document.into()
document
.add_link("/account/delete", "Delete your account")
.into()
}
fn render_unauth_page<'a>(

Loading…
Cancel
Save