I have created a community with all the default pages (login, logout etc.).
But my login page is not showing up. Below is my community URL –
https://commsbx-i3vision.cs43.force.com/SupportCommunity
What am I missing?
Below is my log in controller –
global with sharing class CommunitiesLoginController {
global CommunitiesLoginController () {}
// Code we will invoke on page load.
global PageReference forwardToAuthPage() {
String startUrl = System.currentPageReference().getParameters().get('startURL');
String displayType = System.currentPageReference().getParameters().get('display');
return Network.forwardToAuthPage(startUrl, displayType);
}
}
Best Answer
In your site settings you will need to specify default Active page as the login page .