Login Management
To further secure the login in Relution, a variety of settings can be configured for the respective organization under Settings → Login Management. Here, the settings for password complexity, multi-factor authentication (MFA) and failed login attempts are described.
Password Policy
- Allow simple password (default: off): A simple password may match the username, e.g., username test and password test. If the option is disabled, the password must match neither the username nor the organization name.
- Minimum password length: 3 to 72 characters, default 8.
- Maximum password age in days: When the password is older than the maximum age, a new password has to be set at the next login. The default value
0means that passwords do not expire. - Minimum numbers of digits
- Minimum numbers of lower case letter
- Minimum numbers of upper case letter
- Minimum numbers of symbols: Any character that is neither a letter nor a digit counts as a symbol.
- Disable forgot password reset
The minimum numbers of digits, lowercase and uppercase letters and symbols default to 0.
Forgot Password
Forgot your password? on the login screen requests a password reset link by e-mail. The dialog only asks for the e-mail address; regardless of the result, the confirmation always reads “A link has been sent to the entered e-mail address if a Relution account exists for it.”
- If several users share the same e-mail address, each of these users receives a separate e-mail.
- Users without a local Relution password (e.g. SSO-only accounts) as well as deactivated or locked users do not receive a link. Users who authenticate exclusively externally (e.g. via LDAP) receive an e-mail stating that the password cannot be reset in Relution instead.
- The e-mail contains the link Choose a new password. By default, it is valid for 24 hours and can only be used once. It becomes invalid as soon as the password is changed by other means or a new link is requested.
- Links sent before the update to Relution 26.5.3 or later are invalid; in this case, a new link is requested.
On self-hosted servers, the validity period can be adjusted via reset-password.reset-password-timeout in the application.yml or the environment variable RESETPASSWORD_RESETPASSWORDTIMEOUT (value in seconds, default 86400, at least 60). The change takes effect after a server restart.
Disabling Password Reset
The Forgot your password? function can be turned off under Settings → Login Management with the Disable forgot password reset option. If disabled, password reset without administrator intervention is no longer possible. Local accounts that lose their password require an administrator to reset it directly.
The effect depends on the organization level:
- In the Global organization, disabling applies to all organizations.
- In a meta organization, it overrides the setting for the organizations of this meta organization.
- In an organization, it only takes effect on the login screen of this organization.
If the option is set in a parent organization, the toggle is read-only; the portal then indicates that the link has been disabled by the parent organization.
At least one administrator account with a known, recoverable password should exist before this option is disabled.
Multi-Factor Authentication
- E-Mail Authentication (default: on)
- One-time code expiration time: 30 seconds to 1 hour, default 10 minutes.
- Authenticator Apps (TOTP) (default: on)
If both factors are disabled, the portal indicates that all users can log in without MFA.
Failed Login Attempts
- User deactivation on failed consecutive login attempts (default: off)
- Maximum failed login attempts (default 10, at least 1)
When a user reaches the maximum number, the user is deactivated and has to be reactivated by an administrator. A successful login resets the counter. Deactivation only applies to local Relution users; users who authenticate exclusively externally (e.g. via LDAP) are not counted.
As of Relution 26.5.5, an incorrectly entered initial password when accepting an invitation also counts as a failed login attempt. If deactivation is enabled, the invited user is deactivated once the maximum number is reached. Deactivated or locked users cannot accept an invitation.
As of Relution 26.5.5, the devices of a deactivated or locked user no longer act with that user’s permissions until the user is reactivated; during this time, the Relution Teacher App, for example, lacks the teacher’s permissions. The devices themselves remain manageable. This applies regardless of whether the user was deactivated after failed login attempts, manually, by the LDAP synchronization or by the Apple School Manager import.
Blocking IP addresses after failed login attempts is described under IP block after failed logins →.