refactor: rename 'allow_change_password' to 'allow_modify_login_info' and update related logic across the application

This commit is contained in:
Junyan Qin
2025-12-29 21:14:05 +08:00
parent 863b26c3fa
commit f11e01b549
7 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class UserService:
space_config = self.ap.instance_config.data.get('space', {})
return {
'url': space_config.get('url', 'https://space.langbot.app'),
'api_url': space_config.get('api_url', 'https://api.langbot.app'),
'models_gateway_api_url': space_config.get('models_gateway_api_url', 'https://api.langbot.cloud'),
'oauth_authorize_url': space_config.get('oauth_authorize_url', 'https://space.langbot.app/auth/authorize'),
}