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 140 posts 484 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

Please Sign in or register to post replies

Write your reply to:

Draft