Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Axel Kleinwort 154 posts 499 karma points c-trib
    Jul 20, 2021 @ 06:27
    Mikael Axel Kleinwort
    0

    With UmbracoIdentity installed, Umbraco.Context.Security.CurrentUser is always null

    I installed UmbracoIdentity and it works well. However I run into an issue. With UmbracoIdentity installed, Umbraco.Context.Security.CurrentUser is always null, and subsequently, UmbracoContext.InPreviewMode will always return false even when in preview mode.

    I am not clear about what I need to add to fix this. Any hint would is greatly appreciated. Thank you!

    Mikael

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies