6.2.1. Login Screen

The login screen provides the ability to register within the system with a login name and password. The login name is case-insensitive.

The Web Client’s Remember Me checkbox can be configured by using the cuba.web.rememberMeEnabled application property. The drop-down list of supported languages on the standard login screen can be configured with the cuba.localeSelectVisible and cuba.availableLocales application properties.

In Web Client, the standard login window can be customized or completely replaced in the project using CUBA Studio. Select Generic UI in the project tree and click New > Screen in the context menu. Then select the Login screen or Login screen with branding image template on the Screen Templates tab. The new screen descriptor and controller files will be created in the Web module. The identifier of the new login screen will be automatically set as the value for the cuba.web.loginScreenId application property. See also Root Screens.

The platform has a mechanism for the protection against password brute force cracking: see the cuba.bruteForceProtection.enabled application property.

For deeper customization of the authentication procedure, see Login and Web Login sections.

The appearance of the Login Screen can be customized using SCSS variables with $cuba-login-* prefix. You can change these variables in the visual editor after creating a theme extension or a custom theme.