diff --git a/server/src/routes/api.rs b/server/src/routes/api.rs index dd727df97..6a97a186e 100644 --- a/server/src/routes/api.rs +++ b/server/src/routes/api.rs @@ -139,7 +139,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) { .route("/ban", web::post().to(route_post::)) // Account actions. I don't like that they're in /user maybe /accounts .route("/login", web::post().to(route_post::)) - .route("/get_captcha", web::get().to(route_post::)) + .route("/get_captcha", web::get().to(route_get::)) .route( "/delete_account", web::post().to(route_post::),