You need to sign in to do that
Don't have an account?
Site.login appear problem?
public with sharing class NewSiteLogin {
public String username {get; set;}
public String password {get; set;}
public PageReference login()
{
String startUrl = System.currentPageReference().getParameters().get('startURL');
system.debug('usename=:::' + username);
system.debug('password=:::' + password);
//User user = [select count() from User where ]
//User u = new User();
PageReference pageTest = Site.login(username, password, startUrl);
return pageTest;
}
}
Error: __MISSING LABEL__ PropertyFile - val FrontDoor$BadSidException not found in section Exception
Please email us if you need to get in touch.
why?
thanks!!