commit 9132cc4a30eff40e81b7e700c7df45b038f7a38a parent e50edcadfbfd806bd7c71f87a65c3ce78da91861 Author: Stefan Melmuk <stefan.melmuk@gmail.com> Date: Fri, 7 Oct 2022 06:33:29 +0200 return CaptchaBypassToken and register object Diffstat:
M | src/api/core/accounts.rs | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs @@ -180,7 +180,8 @@ async fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> JsonResult { user.save(&conn).await?; Ok(Json(json!({ - "registration": "success", + "object": "register", + "CaptchaBypassToken": "", }))) }