app: fix password reset probing

It was still using get, but should have used post
This commit is contained in:
Valentin Tolmer 2024-10-22 00:29:22 +02:00 committed by nitnelave
parent 305b272cdf
commit 62b2afa283

View file

@ -204,7 +204,7 @@ impl HostService {
}
pub async fn probe_password_reset() -> Result<bool> {
Ok(gloo_net::http::Request::get(
Ok(gloo_net::http::Request::post(
&(base_url() + "/auth/reset/step1/lldap_unlikely_very_long_user_name"),
)
.header("Content-Type", "application/json")