Can check delete account token

This commit is contained in:
2023-06-06 10:02:41 +02:00
parent 4b8baa2416
commit 85e5be0328
4 changed files with 47 additions and 2 deletions

View File

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