return CaptchaBypassToken and register object
This commit is contained in:
parent
1a664fba6a
commit
080e38d227
|
@ -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…
Reference in New Issue