Back
To customize the behavior of the login page, create your own Apex controller.
Include the Site.login() Apex method. For example:
global PageReference login(){ return Site.login(username, password, startUrl); }
global PageReference login()
{ return Site.login(username, password, startUrl); }
Want to become a Salesforce Expert? join Salesforce Certification now!
31k questions
32.8k answers
501 comments
693 users