feat: Disable the "Forgot your password?" button when the mail server setup is incomplete (#11653)

This commit is contained in:
Shun Miyazawa
2024-12-18 16:20:41 +09:00
committed by GitHub
parent 2961fa0e08
commit f7415e1ca4
4 changed files with 13 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ export type SystemFeatures = {
enable_social_oauth_login: boolean
is_allow_create_workspace: boolean
is_allow_register: boolean
is_email_setup: boolean
license: License
}
@@ -43,6 +44,7 @@ export const defaultSystemFeatures: SystemFeatures = {
enable_social_oauth_login: false,
is_allow_create_workspace: false,
is_allow_register: false,
is_email_setup: false,
license: {
status: LicenseStatus.NONE,
expired_at: '',