class AssessorRegistrationController {

    @GetMapping("/{inviteHash}/register")
    public String yourDetails(Model model,
                              @PathVariable("inviteHash") String inviteHash,
                              @ModelAttribute(name = FORM_ATTR_NAME, binding = false) RegistrationForm form) {
        form.setEmail(getAssociatedEmailFromInvite(inviteHash));
        return doViewYourDetails(model, inviteHash);
    }

}