1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-10 13:02:41 +01:00

return CaptchaBypassToken and register object

This commit is contained in:
Stefan Melmuk 2022-10-07 06:33:29 +02:00
parent e50edcadfb
commit 9132cc4a30
No known key found for this signature in database
GPG Key ID: 817020C608FE9C09

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