mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-26 23:25:56 -05:00
return "Object" for consistency
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
This commit is contained in:
parent
080e38d227
commit
cd0c49eaf6
@ -180,7 +180,7 @@ async fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> JsonResult {
|
||||
|
||||
user.save(&conn).await?;
|
||||
Ok(Json(json!({
|
||||
"object": "register",
|
||||
"Object": "register",
|
||||
"CaptchaBypassToken": "",
|
||||
})))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user