function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
oracleoracle 

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!!