class UsersManagementController extends AsyncAdaptor {

    @SecuredBySpring(value = "RESEND_INTERNAL_USER_INVITE", description = "Only the IFS Administrators can resend invites to internal users")
    @PreAuthorize("hasAuthority('ifs_administrator')")
    @PostMapping("/pending/resend-invite")
    public String resendInvite(@RequestParam("inviteId") long inviteId) {
        inviteUserRestService.resendInternalUserInvite(inviteId).getSuccess();
        return "redirect:/admin/users/pending";
    }

}