Go to Scriptcase store

# Login

Here you can define the type and number of characters allowed for the username and password fields.

#### Label Position at Login

Defines the positioning of the fields’ Label in relation to the data.

- Above: Positions the label above the Above input label at login.
- Below: Positions the label below the Down input label at login
- Watermark: Positions the label as a watermark.

#### Login mode

Defines how the user login will be performed.

- User - Default form of access, in this option

#### Cryptography

Use encryption to store the password in the user table. You have the following encryptions available: MD5, SHA1, SHA256 and SHA512

#### Show password characters

Defines whether the reveal password button will be displayed in the password field.

###### Password field with reveal password button

#### Use Captcha

It activates the captcha for the login application. The following options are available:

- No: Does not display the captcha in the login application.
- Captcha: Uses the built-in script library to display the captcha.
- recaptcha: Uses Google’s recaptcha V2. To configure, see the video below:

> Watch a recaptcha setup video.

#### Secret Key

Key generated by Google after creating the recaptcha project.

> This option will be available when using recaptcha. See how to generate these credentials.

#### Site Key

Key generated by Google after creating the recaptcha project.

> This option will be available when using recaptcha. See how to generate these credentials.

#### Last password change

Defines the time, in days, until the system requests the user to change their password.

> If the value entered is 0, the password will not be reset.

#### Password strength

Defines the mandatory characters to compose the password for new users.

- Capital letters
- Small letters
- Numbers
- Special characters

###### Example of password strength in the application

#### Show language selection at login

Enables the display of the language field at login.

###### Example of language selection at login

#### Login Field

- Minimum size: Defines the minimum number of characters that can be used to define a login.
- Maximum length: Stipulates the maximum number of characters for defining a login.

#### Password field

- Minimum length: Minimum number of characters used to define the password.
- Maximum length: Defines the maximum number of characters for defining a password.

> The maximum values cannot be lower than the minimum values.

#### Login Template

When enabling the Use a template attribute on the login screen, the field for selecting the template that will be used will be available. Templates must be loaded/created in an external library, which in turn must be enabled for use in the project. See how to use an external library

> This option is only available when Social Network Authentication is not used.

If you do not have emplates created or enabled for the project, use the button to quickly access the external library settings.

After creating or enabling a template in the external library, if it is not listed, click on the button to reload the select values.