commit 080e38d227a086b1493b58d24d4789d5551de221 parent 1a664fba6a85edc32a7e424cdbfc0acd8f4d1ee3 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": "", }))) }