# Login

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FzqISm2ERH9Cj52ulodgI%2F5.png?alt=media&#x26;token=6b1efaeb-382b-43ae-87d4-efd429dbd3fb" alt=""><figcaption></figcaption></figure>

In the Login tab, you can configure login settings.

You have the ability to establish various post-login options available to end users.

#### **User Registration**

This toggle button controls the visibility of the Register option on the login screen. When activated or toggled ON, end users can see the Register option; when deactivated, this particular option will not be present.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FwTGKdcQYq0gnIJLAClQI%2F6.png?alt=media&#x26;token=ab836775-0f2c-4b94-b3ae-e7b3716040ac" alt=""><figcaption></figcaption></figure>

#### **Forgot Password**

When the toggle button is turned ON, it allows the End user to view the Forgot Password? field. Disabling it removes access to the Forgot Password? button.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FkL5Fe5PdYW33ex7G1UGQ%2F7.png?alt=media&#x26;token=45efbc2c-02e5-40ea-9b8a-bf06b63e7f32" alt=""><figcaption></figcaption></figure>

#### **Remember Me**

On turning the toggle button ON, it allows users to view the Remember Me button on the login screen.

If turned OFF, the option will not be visible.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FPQIEmQqE3jRwlk38oybm%2F8.png?alt=media&#x26;token=347888fa-ae1d-4bce-9caf-ad58ec3ad34d" alt=""><figcaption></figcaption></figure>

#### **Email as username**

When turned ON, users can only log in via Email as shown above.

When turned OFF, users can log in using both Username and email as shown below.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FAPdy9zBgu3KVfuKvYsxD%2F9.png?alt=media&#x26;token=d59bf119-3423-4d2e-bc80-c1906b30b607" alt=""><figcaption></figcaption></figure>

#### **Login with Email**

When turned OFF, the users can log in using only the Username.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FuLmF5zUJQcktPXe8eTFG%2F10.png?alt=media&#x26;token=ceffd7e3-72bf-4d48-9d0a-ce5f4ceabc78" alt=""><figcaption></figcaption></figure>

When turned ON, users can log in using either the Username or Email.

#### **Duplicate emails**

This is a toggle button, when activated (toggled ON), it allows multiple users to share the same email address.

If turned OFF, users cannot use the same email address.

Changing this setting clears the user cache automatically.

It is advisable to manually update the email constraints for existing users in the database after disabling support for duplicate email addresses.

#### **Verify Email**

When toggled ON, the users are required to verify their email address after initial login or any subsequent address changes.

If turned OFF, it removes the need for email verification.

#### **Edit Username**

This toggle button enables the Admin User to edit the Username field.

Go to the [Users](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v2.0/guide-to-navigation/users) tab.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FXttZLHtAxMeugPz0CA2Z%2Fimage.png?alt=media&#x26;token=e4d64459-f120-4aea-bd1e-6c2a07171cb1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FPPH0SFK6LAJjtgxT1ysW%2Fimage.png?alt=media&#x26;token=5fc058f4-28e4-4897-b475-170aede43252" alt=""><figcaption></figcaption></figure>

Click on the Username for any user. For example - demo3

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FOh89U9CBNg2golrdPzlw%2Fimage.png?alt=media&#x26;token=73db9f78-6b9c-4fb9-a21a-a7f91b36298b" alt=""><figcaption></figcaption></figure>

When the toggle button is ON, the Username field becomes editable.&#x20;

If disabled or turned OFF, the Admin User cannot edit this field; it remains visible but as a read-only field.
