diff --git a/web/src/components/auth/LoginForm.js b/web/src/components/auth/LoginForm.js index 5128728c..85d22dfc 100644 --- a/web/src/components/auth/LoginForm.js +++ b/web/src/components/auth/LoginForm.js @@ -358,9 +358,19 @@ const LoginForm = () => { -
- {t('没有账户?')} {t('注册')} -
+ {!status.self_use_mode_enabled && ( +
+ + {t('没有账户?')}{' '} + + {t('注册')} + + +
+ )} @@ -453,9 +463,19 @@ const LoginForm = () => { )} -
- {t('没有账户?')} {t('注册')} -
+ {!status.self_use_mode_enabled && ( +
+ + {t('没有账户?')}{' '} + + {t('注册')} + + +
+ )}