mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-24 21:08:30 +00:00
perf: 社区版移除magnus
This commit is contained in:
@@ -242,7 +242,8 @@ class ConnectMethodUtil:
|
||||
'razor': 'TERMINAL_RAZOR_ENABLED',
|
||||
'magnus': 'TERMINAL_MAGNUS_ENABLED',
|
||||
}
|
||||
disabled_component = [comp for comp, attr in component_setting.items() if not getattr(settings, attr)]
|
||||
disabled_component = [comp for comp, attr in component_setting.items() if
|
||||
not (getattr(settings, attr) and settings.XPACK_LICENSE_IS_VALID)]
|
||||
if not disabled_component:
|
||||
return methods
|
||||
|
||||
|
Reference in New Issue
Block a user