mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-23 11:29:04 +00:00
return CaptchaBypassToken and register object
This commit is contained in:
parent
e50edcadfb
commit
9132cc4a30
@ -180,7 +180,8 @@ async fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> JsonResult {
|
|||||||
|
|
||||||
user.save(&conn).await?;
|
user.save(&conn).await?;
|
||||||
Ok(Json(json!({
|
Ok(Json(json!({
|
||||||
"registration": "success",
|
"object": "register",
|
||||||
|
"CaptchaBypassToken": "",
|
||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user