diff --git a/frontend/components.d.ts b/frontend/components.d.ts
index 2b3ebf489..3cb9f717c 100644
--- a/frontend/components.d.ts
+++ b/frontend/components.d.ts
@@ -90,6 +90,7 @@ declare module 'vue' {
TableSetting: typeof import('./src/components/table-setting/index.vue')['default']
Terminal: typeof import('./src/components/terminal/index.vue')['default']
Tooltip: typeof import('./src/components/tooltip/index.vue')['default']
+ Unsafe: typeof import('./src/components/error-message/unsafe.vue')['default']
Upload: typeof import('./src/components/upload/index.vue')['default']
VCharts: typeof import('./src/components/v-charts/index.vue')['default']
}
diff --git a/frontend/src/assets/images/unsafe.svg b/frontend/src/assets/images/unsafe.svg
new file mode 100644
index 000000000..33916c422
--- /dev/null
+++ b/frontend/src/assets/images/unsafe.svg
@@ -0,0 +1,20 @@
+
diff --git a/frontend/src/components/error-message/unsafe.vue b/frontend/src/components/error-message/unsafe.vue
new file mode 100644
index 000000000..8ef1f225a
--- /dev/null
+++ b/frontend/src/components/error-message/unsafe.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
{{ $t('commons.login.notSafe') }}
+
{{ $t('commons.login.safeEntrance1') }}
+
+
{{ $t('commons.login.safeEntrance2') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts
index 6a5ae4cc4..74a261126 100644
--- a/frontend/src/lang/modules/en.ts
+++ b/frontend/src/lang/modules/en.ts
@@ -114,8 +114,9 @@ const message = {
errorMfaInfo: 'Incorrect authentication information, please try again!',
captchaHelper: 'Captcha',
errorCaptcha: 'Captcha code error!',
- safeEntrance:
- 'The command "1pctl user-info" can be used in SSH terminal to view the panel entrance as the secure login has been enabled in the current environment.',
+ notSafe: 'Access Denied',
+ safeEntrance1: 'The secure login has been enabled in the current environment',
+ safeEntrance2: 'Enter the following command on the SSH terminal to view the panel entry: 1pctl user-info',
codeInput: 'Please enter the 6-digit verification code of the MFA validator',
mfaTitle: 'MFA Certification',
mfaCode: 'MFA verification code',
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index 518024cd6..a289cbca5 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -118,7 +118,9 @@ const message = {
errorMfaInfo: '错误的验证信息,请重试!',
captchaHelper: '验证码',
errorCaptcha: '验证码错误!',
- safeEntrance: '当前环境已经开启了安全入口登录,在 SSH 终端输入以下命令来查看面板入口: 1pctl user-info',
+ notSafe: '暂无权限访问',
+ safeEntrance1: '当前环境已经开启了安全入口登录',
+ safeEntrance2: '在 SSH 终端输入以下命令来查看面板入口: 1pctl user-info',
codeInput: '请输入 MFA 验证器的 6 位验证码',
mfaTitle: 'MFA 认证',
mfaCode: 'MFA 验证码',
diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue
index 4d80accda..f6dc183d0 100644
--- a/frontend/src/views/login/index.vue
+++ b/frontend/src/views/login/index.vue
@@ -15,11 +15,8 @@
-
-
-
404 NOT FOUND
-
{{ $t('commons.login.safeEntrance') }}
-
+
+
@@ -27,11 +24,12 @@