mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-15 01:53:43 +01:00
return CaptchaBypassToken and register object
This commit is contained in:
parent
1704d14f29
commit
2c0742387b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue