Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: minor setting adjustment (#13507)

Tianzhou (天舟)550d1525c910
diff --git a/frontend/src/components/GeneralSetting/SecuritySetting.vue b/frontend/src/components/GeneralSetting/SecuritySetting.vue
index e09022027a..c86cf3004d 100644
--- a/frontend/src/components/GeneralSetting/SecuritySetting.vue
+++ b/frontend/src/components/GeneralSetting/SecuritySetting.vue
@@ -48,39 +48,39 @@
<div class="mb-7 mt-4 lg:mt-0">
<div class="flex items-center gap-x-2">
<Switch
- :value="require2FAEnabled"
+ :value="disallowPasswordSignin"
:text="true"
:disabled="!allowEdit"
- @update:value="handleRequire2FAToggle"
+ @update:value="handleDisallowPasswordSigninToggle"
/>
<span class="textlabel">
- {{ $t("settings.general.workspace.require-2fa.enable") }}
+ {{
+ $t("settings.general.workspace.disallow-password-signin.enable")
+ }}
</span>
</div>
<div class="mb-3 text-sm text-gray-400">
- {{ $t("settings.general.workspace.require-2fa.description") }}
+ {{
+ $t(
+ "settings.general.workspace.disallow-password-signin.description"
+ )
+ }}
</div>
</div>
<div class="mb-7 mt-4 lg:mt-0">
<div class="flex items-center gap-x-2">
<Switch
- :value="disallowPasswordSignin"
+ :value="require2FAEnabled"
:text="true"
:disabled="!allowEdit"
- @update:value="handleDisallowPasswordSigninToggle"
+ @update:value="handleRequire2FAToggle"
/>
<span class="textlabel">
- {{
- $t("settings.general.workspace.disallow-password-signin.enable")
- }}
+ {{ $t("settings.general.workspace.require-2fa.enable") }}
</span>
</div>
<div class="mb-3 text-sm text-gray-400">
- {{
- $t(
- "settings.general.workspace.disallow-password-signin.description"
- )
- }}
+ {{ $t("settings.general.workspace.require-2fa.description") }}
</div>
</div>
<RestrictIssueCreationConfigure
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 8cb23fd46d..405401bf06 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -739,7 +739,7 @@
},
"confirm-delete-custom-logo": "Delete custom branding logo?",
"restrict-issue-creation-for-sql-review": {
- "title": "Prohibit issue creation for SQL review with errors",
+ "title": "Disallow issue creation for SQL review with errors",
"description": "Once enabled, users are only allowed to create issues if the SQL review does not contain any errors."
},
"database-change-mode": {