git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portal/invites-common-library@158996 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cc064bf15a
commit
00fe7a8112
|
@ -88,6 +88,9 @@ public class InvitesManager {
|
||||||
try {
|
try {
|
||||||
String vreName = PortalContext.getConfiguration().getCurrentGroupName(request);
|
String vreName = PortalContext.getConfiguration().getCurrentGroupName(request);
|
||||||
result = store.saveInvite(invite);
|
result = store.saveInvite(invite);
|
||||||
|
if (result == InviteOperationResult.ALREADY_INVITED) {
|
||||||
|
invite.setKey(store.isExistingInvite(currScope, email));
|
||||||
|
}
|
||||||
emailResult = sendInviteEmail(request, invite, currUser, vreName, name, email, vreDescription);
|
emailResult = sendInviteEmail(request, invite, currUser, vreName, name, email, vreDescription);
|
||||||
notifyInviteSent(request, currUser, currScope, invite, vreName);
|
notifyInviteSent(request, currUser, currScope, invite, vreName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue