diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 40c40d9d..cd8aceb7 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -269,7 +269,8 @@ "passwordResetSuccess": "Password reset successfully! You can now log in with your new password.", "failedToInitiatePasswordReset": "Failed to initiate password reset", "failedToVerifyResetCode": "Failed to verify reset code", - "failedToCompletePasswordReset": "Failed to complete password reset" + "failedToCompletePasswordReset": "Failed to complete password reset", + "documentation": "Documentation" }, "nav": { "home": "Home", diff --git a/src/locales/zh/translation.json b/src/locales/zh/translation.json index 6b3c3e08..6ceb0a1c 100644 --- a/src/locales/zh/translation.json +++ b/src/locales/zh/translation.json @@ -256,7 +256,8 @@ "passwordResetSuccess": "密码重置成功!您现在可以使用新密码登录。", "failedToInitiatePasswordReset": "启动密码重置失败", "failedToVerifyResetCode": "验证重置代码失败", - "failedToCompletePasswordReset": "完成密码重置失败" + "failedToCompletePasswordReset": "完成密码重置失败", + "documentation": "文档" }, "nav": { "home": "首页", diff --git a/src/ui/Desktop/Admin/AdminSettings.tsx b/src/ui/Desktop/Admin/AdminSettings.tsx index c0fe69bc..722c1cc5 100644 --- a/src/ui/Desktop/Admin/AdminSettings.tsx +++ b/src/ui/Desktop/Admin/AdminSettings.tsx @@ -305,9 +305,19 @@ export function AdminSettings({isTopbarOpen = true}: AdminSettingsProps): React. -
+

{t('admin.externalAuthentication')}

-

{t('admin.configureExternalProvider')}

+
+

{t('admin.configureExternalProvider')}

+ +
{oidcError && ( diff --git a/src/ui/Desktop/Apps/Host Manager/HostManagerEditor.tsx b/src/ui/Desktop/Apps/Host Manager/HostManagerEditor.tsx index 3a34d89c..f4d3e35f 100644 --- a/src/ui/Desktop/Apps/Host Manager/HostManagerEditor.tsx +++ b/src/ui/Desktop/Apps/Host Manager/HostManagerEditor.tsx @@ -985,7 +985,6 @@ export function HostManagerEditor({editingHost, onFormSubmit}: SSHManagerHostEdi )} /> - {form.watch('enableTunnel') && ( <> @@ -1026,7 +1025,16 @@ export function HostManagerEditor({editingHost, onFormSubmit}: SSHManagerHostEdi
{t('hosts.editSshConfig')}
- +
+ +
{t('auth.twoFactorTitle')} - - {t('auth.addExtraSecurityLayer')} + +

{t('auth.addExtraSecurityLayer')}.

+