Skip to content

Commit

Permalink
Ensure the portal ID being used for consent is the parent portal
Browse files Browse the repository at this point in the history
Fixes #3662
  • Loading branch information
donker authored Apr 6, 2020
1 parent f6f6ef6 commit 33e2db8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ public override bool UnLockUser(UserInfo user)
/// -----------------------------------------------------------------------------
public override void UserAgreedToTerms(UserInfo user)
{
_dataProvider.UserAgreedToTerms(user.PortalID, user.UserID);
_dataProvider.UserAgreedToTerms(PortalController.GetEffectivePortalId(user.PortalID), user.UserID);
}

/// -----------------------------------------------------------------------------
Expand Down

0 comments on commit 33e2db8

Please sign in to comment.