fix(login, console): replace allowUsernamePassword with allowLocalAuthentication in login, change translation in console (#11413)

# Which Problems Are Solved

This PR deprecates and replaces the use of `allowUsernamePassword` with
`allowLocalAuthentication`.
It additionally disables the username on organizations that disallow
local authentication. In such a case, only IDPs are shown.

# How the Problems Are Solved

- replace `allowUsernamePassword` by `allowLocalAuthentication`
- disable username form if !allowLocalAuthentication
- translate property in console UI
This commit is contained in:
Max Peintner
2026-02-04 12:54:37 +00:00
committed by GitHub
parent 6f07b8deee
commit 38dbd4cf3e
46 changed files with 171 additions and 142 deletions
+3 -3
View File
@@ -281,9 +281,9 @@
"FORM": {
"TITLE": "Login Form",
"DESCRIPTION": "Customize the login form.",
"USERNAME_PASSWORD_ALLOWED": {
"TITLE": "Username and Password allowed",
"DESCRIPTION": "Allow your users to log in with their username and password. If this is deactivated, your users can only log in using passkey authentication or with an external identity provider."
"LOCAL_AUTHENTICATION_ALLOWED": {
"TITLE": "Local authentication allowed",
"DESCRIPTION": "Allow your users to log in with their username and password or passkey authentication. If this is deactivated, your users can only log in using an external identity provider."
},
"USER_REGISTRATION_ALLOWED": {
"TITLE": "User Registration allowed",