Skip to content

Commit

Permalink
Merge branch 'feat/new-login' into deploy/dev
Browse files Browse the repository at this point in the history
* feat/new-login:
  feat: update SystemFeatureModel
  • Loading branch information
ZhouhaoJiang committed Sep 11, 2024
2 parents 79cd626 + 38ea1dd commit 239c795
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/services/feature_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class SystemFeatureModel(BaseModel):
enable_email_code_login: bool = dify_config.ENABLE_EMAIL_CODE_LOGIN
enable_email_password_login: bool = dify_config.ENABLE_EMAIL_PASSWORD_LOGIN
enable_social_oauth_login: bool = dify_config.ENABLE_SOCIAL_OAUTH_LOGIN
is_allow_register: bool = dify_config.ALLOW_REGISTER
is_allow_create_workspace: bool = dify_config.ALLOW_CREATE_WORKSPACE


class FeatureService:
Expand Down

0 comments on commit 239c795

Please sign in to comment.