Copied to clipboard

Flag this post as spam?

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


  • Barbacan 29 posts 79 karma points
    May 03, 2017 @ 12:32
    Barbacan
    0

    Public Access authentication problem

    I've to protect my root site with custom login & password box, so I created a node with the two required pages, login and error and I've set Public Access on my home node as Role based protection:

    enter image description here Then I created the user which will be used for authentication:

    enter image description here

    Finally I created the macro as an .ascx custom control. The code is very simple:

    enter image description here

    The code works perfectly, it gets the user's credentials and do validation, but the redirect does not work and I stay on the login page. It seems that the auth cookie is not written. The web.config looks as follows: enter image description here

    I checked the file permission on the folders, the umbraco log, but apparently there are no issues. Any helps?

Please Sign in or register to post replies

Write your reply to:

Draft