1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Login / log out widget only works with administrator role?

Login / log out widget only works with administrator role?

4 posts, 0 answered
  1. Jack
    Jack avatar
    23 posts
    Registered:
    03 May 2011
    21 Dec 2011
    Link to this post
    hi, i noticed the login / log out button only displays "Log out" when logged in with an user account with administrator role. When logged in as a customer(e-commerce) or backend user it displays "Log in" however if you click "Log in" it actually logs the user out.

    The setup Im using is a login / log out button on the home page -> LoginUrl to a separate login page with Login widget -> DestinationPageUrl and LoginAction Redirect back to home page

    My question is did i miss any configuration settings? or the two widget wasnt designed  to function that way. 
    Edit: Maybe its related to  http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/odditiy-with-cache-and-login-name-status-widget.aspx
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    22 Dec 2011
    Link to this post
    Hi Jack,

    Do you refer to the default Login widget or do you mean some place else, e.g. the Backend login form? Could you please give us more details about what location of your project you mean?

    All the best,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jack
    Jack avatar
    23 posts
    Registered:
    03 May 2011
    22 Dec 2011
    Link to this post
    Sorry, im using the login/log out button widget under the login section on the home page which allows the user to log in / out depending out their status which brings them into a separate page with the login widget which redirects them back to home page when logged in.
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    27 Dec 2011
    Link to this post
    Hi Jack,

    Yes, this is the exact same issue. It looks like Sitefinity is caching the the login status and unless you recycle the pool after a non-administrator user is logged in the status will display as "Log in" even though there are authentication cookies in the browser. Apologies for the inconvenience.

    Kind regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered