Merge pull request #11894 from jumpserver/pr@dev@perf_window_default_verify_account_by_rdp

perf: 修改windows校验账号的默认方式
pull/11895/head
老广 2023-10-18 03:46:08 -05:00 committed by GitHub
commit 25d0c021e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ def change_windows_ping_method(apps, schema_editor):
platform_automation_cls = apps.get_model('assets', 'PlatformAutomation')
automations = platform_automation_cls.objects.filter(platform__name__in=['Windows', 'Windows2016'])
automations.update(ping_method='ping_by_rdp')
automations.update(verify_account_method='verify_account_by_rdp')
class Migration(migrations.Migration):