From add56a9a6d07cf35d239957b871b3d43d3b186ab Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 12 May 2021 18:53:48 +0200 Subject: [PATCH] Fix bad function call --- src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.rs b/src/routes.rs index 819591f..9b5ccb4 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -349,7 +349,7 @@ pub fn get_routes() -> Vec { // Admin accounts controller Route::limited_admin_post_without_login("/admin/accounts/auth_options", Box::new(admin_account_controller::get_auth_options), LimitPolicy::FAILURE(5)), Route::limited_admin_post_without_login("/admin/accounts/auth_with_reset_token", Box::new(admin_account_controller::auth_with_reset_token), LimitPolicy::FAILURE(5)), - Route::admin_post("/admin/accounts/sign_out", Box::new(admin_account_controller::get_admin_id)), + Route::admin_post("/admin/accounts/sign_out", Box::new(admin_account_controller::sign_out)), Route::admin_post("/admin/accounts/id", Box::new(admin_account_controller::get_admin_id)), Route::admin_post("/admin/accounts/info", Box::new(admin_account_controller::get_admin_info)), ]