Commit 54184ae8 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Product/1442-projectInviteMngmnt' into 'Sprint/2021-09'

Product/1442 project invite mngmnt

See merge request !148
parents 6ff01a79 f637e306
......@@ -665,7 +665,7 @@ namespace Coscine.Api.Project.Controllers
{
["placeholder"] = new JObject()
{
["confirmation_link"] = $@"{_configuration.GetString("coscine/local/api/additional/url")}/invitation?token={token}"
["confirmation_link"] = $@"{_configuration.GetString("coscine/local/api/additional/url")}/SitePages/Home.aspx?token={token}"
}
}
};
......@@ -757,7 +757,7 @@ namespace Coscine.Api.Project.Controllers
_invitationModel.Delete(invitation);
return Ok($"User {user.Id} is now {role.DisplayName} of project {project.Id}.");
return NoContent();
}
private static bool IsValidEmail(string email)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment