class LoginController {

    @GetMapping("/" + LOGIN_BASE + "/" + RESET_PASSWORD + "/hash/{hash}")
    public String resetPassword(@PathVariable("hash") String hash, @ModelAttribute(binding = false) ResetPasswordForm resetPasswordForm, Model model, HttpServletRequest request) {
        userRestService.checkPasswordResetHash(hash).getSuccess();
        return LOGIN_BASE + "/" + RESET_PASSWORD_FORM;
    }

    public  LoginController(UserService userService,
                           UserRestService userRestService);

}