Commit 4fcc010f authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

Merge branch 'Topic/1529-HandleExternalUserInvitation' into 'Product/1442-projectInviteMngmnt'

Topic/1529 handle external user invitation

See merge request !146
parents 6ff01a79 1fe9b66d
......@@ -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