Browse Source

Merge 74e73b5680 into 07569a06da

pull/6513/merge
Timshel 14 hours ago
committed by GitHub
parent
commit
fe10de6393
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/api/core/accounts.rs
  2. 6
      src/api/core/organizations.rs

4
src/api/core/accounts.rs

@ -405,8 +405,8 @@ async fn post_set_password(data: Json<SetPasswordData>, headers: Headers, conn:
user.save(&conn).await?;
Ok(Json(json!({
"Object": "set-password",
"CaptchaBypassToken": "",
"object": "set-password",
"captchaBypassToken": "",
})))
}

6
src/api/core/organizations.rs

@ -370,9 +370,9 @@ async fn get_auto_enroll_status(identifier: &str, headers: Headers, conn: DbConn
};
Ok(Json(json!({
"Id": id,
"Identifier": identifier,
"ResetPasswordEnabled": rp_auto_enroll,
"id": id,
"identifier": identifier,
"resetPasswordEnabled": rp_auto_enroll,
})))
}

Loading…
Cancel
Save