Skip to content

Commit 7e4a327

Browse files
committed
fix(platform-objects): require_mfa help keeps the two-factor condition beside the administrator wording
Claude-Session: https://claude.ai/code/session_01Utp6CbDNK83SuSb8zsRt2s Co-authored-by: Claude <noreply@anthropic.com>
1 parent 07d639c commit 7e4a327

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎packages/platform-objects/src/apps/translations/en.objects.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
557557
},
558558
require_mfa: {
559559
label: "Require Multi-Factor Auth",
560-
help: "Turn on to require every member of this organization to set up an authenticator app before they can access data."
560+
help: "Turn on to require every member of this organization to set up an authenticator app before they can access data. Needs two-factor authentication on for this deployment (OS_AUTH_TWO_FACTOR=true); while it is off, saving this as on is refused."
561561
},
562562
timezone: {
563563
label: "Timezone",

‎packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
557557
},
558558
require_mfa: {
559559
label: "强制多因素认证",
560-
help: "开启后,该组织的每位成员都必须先绑定身份验证器 App,才能访问数据。"
560+
help: "开启后,该组织的每位成员都必须先绑定身份验证器 App,才能访问数据。需要本部署开启双重验证(OS_AUTH_TWO_FACTOR=true);双重验证关闭时,保存为开启会被拒绝。"
561561
},
562562
timezone: {
563563
label: "时区",

‎packages/platform-objects/src/identity/sys-organization.object.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ export const SysOrganization = ObjectSchema.create({
401401
required: false,
402402
defaultValue: false,
403403
group: 'Configuration',
404-
description: 'Turn on to require every member of this organization to set up an authenticator app before they can access data.',
404+
description:
405+
'Turn on to require every member of this organization to set up an authenticator app before they can access data. ' +
406+
'Needs two-factor authentication on for this deployment (OS_AUTH_TWO_FACTOR=true); while it is off, ' +
407+
'saving this as on is refused.',
405408
}),
406409

407410
// #14238 — maintainer ruling 2026-09-02, option A (verbatim 「同意」): the

0 commit comments

Comments
 (0)