Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all, I have a custom login service. I create a member or use an existing one and everyone works. I have:
IMember umbracoMember
And I do this:
umbracoMember.IsApproved = true; _memberService.Save(umbracoMember);
And when I inspect it is approved:
But when logged in and then navigating to secure pages that fails. Viewing the member in the backoffice they are NOT approved.
Anyone have any insights to what the issue may be?
I found that the only way this is set now is By creating a MemberIdentityUser from the IMember and then doing .IsApproved on that. Not sure if this is intended or not, feels like a bug if IMember has .IsApproved but it does not actually work.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Member.IsAproved Not working?
Hi all, I have a custom login service. I create a member or use an existing one and everyone works. I have:
And I do this:
And when I inspect it is approved:
But when logged in and then navigating to secure pages that fails. Viewing the member in the backoffice they are NOT approved.
Anyone have any insights to what the issue may be?
I found that the only way this is set now is By creating a MemberIdentityUser from the IMember and then doing .IsApproved on that. Not sure if this is intended or not, feels like a bug if IMember has .IsApproved but it does not actually work.
is working on a reply...