Copied to clipboard

Flag this post as spam?

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


  • john blair 48 posts 219 karma points
    Jun 10, 2019 @ 18:16
    john blair
    0

    What causes /Account to display the /Login page if the user is not logged in?

    I am confused over how fasttrack/merchello authentication works. If I navigate to /account when a user is logged in i get the view as expected in ftAccount.cshtml

    However, if I am not logged in I get the view contained in ftLogin.cshtml

    Where is the configuration that indicates /account needs an authenticated user to access?

    Also, where is the config that indicates /login is the default page for forms authentication?

    Note: web.config has login.aspx as the default form but if i change this to login2.aspx - it makes no difference - the ftLogin.cshtml form is still displayed i.e. /login view

    Thanks.

    UPDATE: Found it. Its in the umbraco backoffice - configure Public Access for the /Account page to be role based i.e. Customers group and specify the /Login as the login page if the user is not in the Customers group.

  • john blair 48 posts 219 karma points
    Sep 12, 2019 @ 10:35
    john blair
    100

    Just setup the Public Access on the page to restrict it to a logged in user.

Please Sign in or register to post replies

Write your reply to:

Draft