Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    Feb 27, 2015 @ 12:20
    Jonathan Roberts
    0

    Admin user logged in? 7.2.2

    Hi,

    Can you let me know what I need to check to see if an Admin user is logged in successfully. I used to use Security.CurrentUser but this is returning a NULL in 7.2.2.

     

    Thanks

    Jon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 27, 2015 @ 14:51
    Jan Skovgaard
    0

    Hi Jonathan

    Is it into the Umbraco backoffice or into a custom section on the fron-facing website? If so could you then please share some code perhaps?

    If it's to the backoffice are you then trying to hook it up using an AD or something like that?

    /Jan

  • Jonathan Roberts 409 posts 1063 karma points
    Feb 27, 2015 @ 14:58
    Jonathan Roberts
    100

    Hi, I am trying to use the Frontend Editor that Kenn Jacobsen created but in 7.2.2 it doesn't seem to Authenticate a user. The

    var user = Security.CurrentUser; 
    

    is always null. So I was wondering if there is another correct way of doing the same functionality for 7.2.2. Thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 27, 2015 @ 15:09
    Jan Skovgaard
    1

    Hi Jonathan

    Aaah that way - I have just moved the post to the forum for this particular package. Then there is a chance that Kenn will notice this post and it will make the context of the issue a bit more obvious :)

    I suspect something in v7.2.2 has changed since Kenn made this package for 7.1.x - I know there is another package of his that's also currently ucompatible with 7.2.2.

    /Jan

  • Andrei 68 posts 130 karma points
    Apr 20, 2015 @ 13:46
    Andrei
    0

    Any solutions to this? I also need to check if current user is authenticated into umbraco.

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    May 05, 2015 @ 08:52
    Kenn Jacobsen
    0

    How curious... I haven't got any notifications on this thread.

    Anyway! I've just uploaded a new version of the package (0.1.0.4) that should fix this issue.

    -Kenn

Please Sign in or register to post replies

Write your reply to:

Draft