From 64f87551fffe2ce6d1f870b0dc742bf0c2a446df Mon Sep 17 00:00:00 2001 From: aecsocket Date: Mon, 13 Apr 2026 14:19:22 +0100 Subject: [PATCH] fix up oauth flow routes --- apps/labrinth/src/routes/internal/flows.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/labrinth/src/routes/internal/flows.rs b/apps/labrinth/src/routes/internal/flows.rs index c1073033fd..ea1f3ff274 100644 --- a/apps/labrinth/src/routes/internal/flows.rs +++ b/apps/labrinth/src/routes/internal/flows.rs @@ -51,6 +51,7 @@ pub fn config(cfg: &mut ServiceConfig) { .service(init) .service(auth_callback) .service(delete_auth_provider) + .service(create_oauth_account) .service(create_account_with_password) .service(login_password) .service(login_2fa) @@ -1396,7 +1397,7 @@ struct NewOAuthAccount { pub sign_up_newsletter: bool, } -#[get("/create/oauth")] +#[post("/create/oauth")] async fn create_oauth_account( req: HttpRequest, db: Data,