Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions duo_client/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1997,8 +1997,6 @@ def update_settings(self,
helpdesk_bypass_expiration=None,
helpdesk_message=None,
helpdesk_can_send_enroll_email=None,
reactivation_url=None,
reactivation_integration_key=None,
security_checkup_enabled=None,
user_managers_can_put_users_in_bypass=None,
email_activity_notification_enabled=None,
Expand Down Expand Up @@ -2040,8 +2038,6 @@ def update_settings(self,
helpdesk_bypass_expiration - <int:minutes>|0
helpdesk_message - <str:message|None>
helpdesk_can_send_enroll_email - True|False|None
reactivation_url - <str:url>|None
reactivation_integration_key - <str:url>|None
security_checkup_enabled - True|False|None
user_managers_can_put_users_in_bypass - True|False|None
email_activity_notification_enabled = True|False|None
Expand Down Expand Up @@ -2113,10 +2109,6 @@ def update_settings(self,
if helpdesk_can_send_enroll_email is not None:
params['helpdesk_can_send_enroll_email'] = ('1' if
helpdesk_can_send_enroll_email else '0')
if reactivation_url is not None:
params['reactivation_url'] = reactivation_url
if reactivation_integration_key is not None:
params['reactivation_integration_key'] = reactivation_integration_key
if security_checkup_enabled is not None:
params['security_checkup_enabled'] = ('1' if
security_checkup_enabled else '0')
Expand Down
4 changes: 0 additions & 4 deletions tests/admin/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ def test_update_settings(self):
helpdesk_bypass_expiration=60,
helpdesk_message="test_message",
helpdesk_can_send_enroll_email=True,
reactivation_url="https://www.example.com",
reactivation_integration_key='DINTEGRATIONKEYTEST0',
security_checkup_enabled=True,
user_managers_can_put_users_in_bypass=False,
email_activity_notification_enabled=True,
Expand Down Expand Up @@ -79,8 +77,6 @@ def test_update_settings(self):
'helpdesk_bypass_expiration': '60',
'helpdesk_message': 'test_message',
'helpdesk_can_send_enroll_email': '1',
'reactivation_url': 'https://www.example.com',
'reactivation_integration_key': 'DINTEGRATIONKEYTEST0',
'security_checkup_enabled': '1',
'user_managers_can_put_users_in_bypass': '0',
'email_activity_notification_enabled': '1',
Expand Down