mirror of https://github.com/jumpserver/jumpserver
Merge pull request #11002 from jumpserver/pr@v2.28@ticket
fix: 工单时区问题 rdp文件添加disableconnectionsharing 参数pull/11623/head
commit
d5a9942159
|
@ -125,6 +125,7 @@ class ConnectionTokenMixin:
|
||||||
'bookmarktype:i': '3',
|
'bookmarktype:i': '3',
|
||||||
'use redirection server name:i': '0',
|
'use redirection server name:i': '0',
|
||||||
'smart sizing:i': '1',
|
'smart sizing:i': '1',
|
||||||
|
'disableconnectionsharing:i': '1',
|
||||||
# 'drivestoredirect:s': '*',
|
# 'drivestoredirect:s': '*',
|
||||||
# 'domain:s': ''
|
# 'domain:s': ''
|
||||||
# 'alternate shell:s:': '||MySQLWorkbench',
|
# 'alternate shell:s:': '||MySQLWorkbench',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from django.db.transaction import atomic
|
|
||||||
from django.db.models import Model
|
from django.db.models import Model
|
||||||
|
from django.db.transaction import atomic
|
||||||
from django.utils.translation import ugettext as _
|
from django.utils.translation import ugettext as _
|
||||||
from rest_framework import serializers
|
from rest_framework import serializers
|
||||||
|
|
||||||
|
@ -69,8 +69,6 @@ class BaseApplyAssetApplicationSerializer(serializers.Serializer):
|
||||||
error = _('The expiration date should be greater than the start date')
|
error = _('The expiration date should be greater than the start date')
|
||||||
raise serializers.ValidationError({'apply_date_expired': error})
|
raise serializers.ValidationError({'apply_date_expired': error})
|
||||||
|
|
||||||
attrs['apply_date_start'] = apply_date_start
|
|
||||||
attrs['apply_date_expired'] = apply_date_expired
|
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
@atomic
|
@atomic
|
||||||
|
|
Loading…
Reference in New Issue