Skip to content

Commit 0cec3c5

Browse files
committed
bug fix: custom ssl save
1 parent 32475f0 commit 0cec3c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CyberCP/secMiddleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __call__(self, request):
7474

7575
if request.build_absolute_uri().find('api/verifyConn') > -1 or request.build_absolute_uri().find('webhook') > -1 or request.build_absolute_uri().find('saveSpamAssassinConfigurations') > -1 or request.build_absolute_uri().find('docker') > -1 or request.build_absolute_uri().find('cloudAPI') > -1 or request.build_absolute_uri().find('verifyLogin') > -1 or request.build_absolute_uri().find('submitUserCreation') > -1:
7676
continue
77-
if key == 'recordContentAAAA' or key == 'backupDestinations' or key == 'ports' \
77+
if key == 'key' or key == 'cert' or key == 'recordContentAAAA' or key == 'backupDestinations' or key == 'ports' \
7878
or key == 'imageByPass' or key == 'passwordByPass' or key == 'cronCommand' \
7979
or key == 'emailMessage' or key == 'configData' or key == 'rewriteRules' \
8080
or key == 'modSecRules' or key == 'recordContentTXT' or key == 'SecAuditLogRelevantStatus' \

0 commit comments

Comments
 (0)