return CaptchaBypassToken and register object

pull/2810/head
Stefan Melmuk 2 years ago committed by Daniel García
parent 1704d14f29
commit 2c0742387b
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

@ -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": "",
})))
}

Loading…
Cancel
Save