|
|
|
@ -617,7 +617,7 @@ class RegisterService:
|
|
|
|
|
|
|
|
|
|
|
|
if open_id is not None or provider is not None:
|
|
|
|
if open_id is not None or provider is not None:
|
|
|
|
AccountService.link_account_integrate(provider, open_id, account)
|
|
|
|
AccountService.link_account_integrate(provider, open_id, account)
|
|
|
|
if dify_config.EDITION != "SELF_HOSTED":
|
|
|
|
|
|
|
|
should_create_workspace = not is_invite_member or (
|
|
|
|
should_create_workspace = not is_invite_member or (
|
|
|
|
is_invite_member and dify_config.ALLOW_CREATE_WORKSPACE
|
|
|
|
is_invite_member and dify_config.ALLOW_CREATE_WORKSPACE
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|