return CaptchaBypassToken and register object

This commit is contained in:
Stefan Melmuk 2022-10-07 06:33:29 +02:00 committed by Daniel García
parent 1a664fba6a
commit 080e38d227
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with 2 additions and 1 deletions

View File

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