Display error message when trying to use an invitation link a second time

This commit is contained in:
yflory 2019-12-19 11:45:50 +01:00
parent 0dc4a1d890
commit aca9ddca06
1 changed files with 4 additions and 0 deletions

View File

@ -1137,7 +1137,11 @@ define([
$divLink.append(content);
}, true);
}
return;
}
$(errorBlock).text(Messages.team_inviteInvalidLinkError).show();
$(div).empty();
$inviteDiv.empty();
return;
}
// No error: join successful!