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.
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.
Just setup the Public Access on the page to restrict it to a logged in user.
is working on a reply...