From aea3cd5807374e1ebd128e03465575e0270d15ee Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 2 Mar 2021 17:50:49 +0100 Subject: [PATCH] Remove deprecated routes --- src/routes.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/routes.rs b/src/routes.rs index 71c40fe..35b2d24 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -135,13 +135,10 @@ pub fn get_routes() -> Vec { // Account controller Route::limited_post_without_login("/account/create", Box::new(account_controller::create), LimitPolicy::SUCCESS(10)), Route::limited_post_without_login("/account/login", Box::new(account_controller::login_user), LimitPolicy::FAILURE(10)), - Route::limited_post_without_login("/user/connectUSER", Box::new(account_controller::login_user), LimitPolicy::FAILURE(10)), // TODO : remove Route::post("/account/logout", Box::new(account_controller::logout_user)), - Route::post("/user/disconnectUSER", Box::new(account_controller::logout_user)), // TODO : remove Route::post("/account/disconnect_all_devices", Box::new(account_controller::disconnect_all_devices)), Route::post("/account/id", Box::new(account_controller::user_id)), Route::post("/account/mail", Box::new(account_controller::get_mail)), - Route::post("/user/getCurrentUserID", Box::new(account_controller::user_id)), // TODO : remove Route::limited_post_without_login("/account/exists_email", Box::new(account_controller::exists_mail), LimitPolicy::ANY(30)), Route::limited_post_without_login("/account/has_security_questions", Box::new(account_controller::has_security_questions), LimitPolicy::FAILURE(10)), Route::limited_post_without_login("/account/get_security_questions", Box::new(account_controller::get_security_questions), LimitPolicy::FAILURE(10)),