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
brian.cline1.392305187066454E12brian.cline1.392305187066454E12 

Site.Login Custom Errors for Community

We are using a customize Login Controller and Visual Force page, ios it possible to customize the error messages that Site.Login returns?

Best Answer chosen by brian.cline1.392305187066454E12
Ashish_SFDCAshish_SFDC
Hi Brian, 


Customize | Manage Communities > Force.com Site > Edit and change Active Site homepage to your custom vf page.

See the code in the below threads, 

http://salesforce.stackexchange.com/questions/17054/customize-communities-login-page

http://salesforce.stackexchange.com/questions/10696/vf-login-page-to-customer-portal-login-returns-to-login-page

http://salesforce.stackexchange.com/questions/12045/create-a-custom-login-failure-message-using-site-login


Regards,
Ashish

All Answers

Ashish_SFDCAshish_SFDC
Hi Brian, 


Customize | Manage Communities > Force.com Site > Edit and change Active Site homepage to your custom vf page.

See the code in the below threads, 

http://salesforce.stackexchange.com/questions/17054/customize-communities-login-page

http://salesforce.stackexchange.com/questions/10696/vf-login-page-to-customer-portal-login-returns-to-login-page

http://salesforce.stackexchange.com/questions/12045/create-a-custom-login-failure-message-using-site-login


Regards,
Ashish

This was selected as the best answer
brian.cline1.392305187066454E12brian.cline1.392305187066454E12
Thanks Ashish.