server: Correctly handle attempts to probe for password resets
This commit is contained in:
parent
8f6c324de7
commit
c8601b9169
@ -657,5 +657,9 @@ where
|
||||
web::resource("/reset/step2/{token}")
|
||||
.route(web::get().to(get_password_reset_step2_handler::<Backend>)),
|
||||
);
|
||||
} else {
|
||||
cfg.service(
|
||||
web::resource("/reset/step1/{user_id}").route(web::post().to(HttpResponse::NotFound)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user