Commit f637e306 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Fix: Fixed link (coscine/issues#1529)

parent 6ff01a79
......@@ -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