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": "登录表单",
"DESCRIPTION": "自定义登录表单。",
"USERNAME_PASSWORD_ALLOWED": {
"TITLE": "允许用户名和密码",
"DESCRIPTION": "允许用户使用他们的用户名和密码登录。如果此功能被禁用,你的用户只能使用Passkey认证或外部身份提供者登录。"
"LOCAL_AUTHENTICATION_ALLOWED": {
"TITLE": "允许本地身份验证",
"DESCRIPTION": "允许您的用户使用其用户名和密码或通行密钥身份验证登录。如果停用此选项,您的用户只能使用外部身份提供商登录。"
},
"USER_REGISTRATION_ALLOWED": {
"TITLE": "允许用户注册",