mirror of
https://github.com/lldap/lldap.git
synced 2024-10-23 04:16:24 +00:00
app: fix password reset probing
It was still using get, but should have used post
This commit is contained in:
parent
305b272cdf
commit
62b2afa283
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue