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

View File

@@ -23,8 +23,8 @@ class SystemRouterGroup(group.RouterGroup):
if 'cloud_service_url' in self.ap.instance_config.data.get('plugin', {})
else 'https://space.langbot.app'
),
'allow_change_password': self.ap.instance_config.data.get('system', {}).get(
'allow_change_password', True
'allow_modify_login_info': self.ap.instance_config.data.get('system', {}).get(
'allow_modify_login_info', True
),
}
)