Add delete link to account page
This commit is contained in:
parent
65fe416973
commit
bfaa81d9d0
|
@ -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…
Reference in a new issue