Customize Code for Lightning Components on Login Pages
- Enter Lightning Components in the Quick Find box from Setup, then select Lightning Components under Develop.
- From the list of components, click on the one you want to customize.For example, to customize the login experience, click login Form.
- On the Lightning component detail page,click Developer Console.
- Follow the instructions in the code to expose the component in Community Builder.
- Add custom code logic and save your changes as a new custom component
- Go back to Community Builder in your community and bring up the Login page from the list of pages. The custom component you created should display in the list of components