# Login & Sign-up

#### Hide login form

Hide the login form and show a link to the login page for admin users

1. Login for admin label - Customize the label for the login for admin link

<figure><img src="https://1311400754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJfqRdcYy9miFgmqjVBk%2Fuploads%2F5pcyn3NsViaJPvPRbcnk%2Flogin-form-hidden.gif?alt=media&#x26;token=07fddf82-cf2b-4c40-b7fa-7479c0052b60" alt=""><figcaption></figcaption></figure>

#### Display list of identity providers before the login form

Show authentication options like OAuth2 providers above the standard login form

***

#### Logo outside the container

Position the logo outside the main login container

***

**Sign up link outside the container** \
Show the sign up link in the top right corner instead of below the login button

***

**Hide password reset link**

Remove the "Forgot password?" link from the login form

***

**Login Introduction**

Add introductory text to appear above the login form

***

Custom Footer HTML or JS refers to the ability to add personalized HTML or JavaScript code to the footer section of a webpage. This feature allows you to modify or enhance the appearance and functionality of the footer, by embedding scripts like analytics, widgets, or additional styling elements. Use this capability carefully to ensure it complies with the overall website design and performance

1. **HTML Content #1, #2, #3**
2. **Additional content under login form**
3. **Custom HTML Block (under the login form)**
4. **Footer Content**

   Additional footer content is applied. By default, the theme uses footer content from (XY - Footer).

<div data-full-width="false"><figure><img src="https://1311400754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJfqRdcYy9miFgmqjVBk%2Fuploads%2F3MKGRovytw84xPrPVUOT%2Flogin-layout.png?alt=media&#x26;token=9e22a308-2a80-48a1-a415-72b42947f5f8" alt=""><figcaption></figcaption></figure></div>

***

**Custom Footer HTML or JS**

<figure><img src="https://1311400754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJfqRdcYy9miFgmqjVBk%2Fuploads%2FWWm6AI6dPcJu99u1Nam6%2Flogin-form-js.png?alt=media&#x26;token=6c00552d-1d5d-445a-9bd3-ed451c8349e1" alt=""><figcaption></figcaption></figure>

***

**Labels**

1. Create Account Label
2. Back to Login Label

Learn how to add multi-lang content. <https://docs.moodle.org/500/en/Multi-language_content_filter>

***

**Background**

1. Background Image
2. Background Video
3. Background Color

***

### Sign up

1. Sign up Introduction

{% hint style="info" %}
You can set up a custom background for the sign up page. Of leave blank to use the background image from the login page settings.

* Background Image
* Background Video
* Background Color
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rosea.gitbook.io/xy-moodle-theme/login-and-sign-up.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
