Can request account deletion

This commit is contained in:
2023-06-06 09:47:52 +02:00
parent 1a8211c13d
commit 4b8baa2416
8 changed files with 83 additions and 5 deletions

View File

@ -62,6 +62,10 @@ async fn main() -> std::io::Result<()> {
"/user/replace_password",
web::post().to(user_controller::replace_password),
)
.route(
"/user/request_delete",
web::get().to(user_controller::request_delete_account),
)
})
.bind(AppConfig::get().listen_address.as_str())?
.run()