v1.2.0
This commit is contained in:
@@ -181,9 +181,7 @@ namespace Saxonite.Net.Core.Web.Admin.Controllers
|
||||
// Activate awaiting members and send welcome email to each.
|
||||
foreach (OrganisationMemberData organisationMember in organisationMembersToActivate)
|
||||
{
|
||||
// Ensure that User Organisation has 'Member Admin' role.
|
||||
if (organisationMember.UserOrganisation == null) continue;
|
||||
organisationMember.UserOrganisation.AddOrganisationRole(Sax.OrganisationRole.MemberAdmin);
|
||||
if (AccountMgr.UpdateUserOrganisation(organisationMember.UserOrganisation, DbUpdateInfo))
|
||||
{
|
||||
if (organisationMember.UserAccount == null) continue;
|
||||
|
||||
Reference in New Issue
Block a user