Add "Disable SSL Verification" button to mattermost notification

This commit will add a button which will disable SSL notifications
for the mattermost webhook. This is required when using self-signed
certificates.
This commit is contained in:
Nicholas O. Wilburn
2017-09-14 16:17:02 -07:00
parent cd3ba08c7d
commit 68d240b77b
2 changed files with 12 additions and 3 deletions

View File

@@ -365,6 +365,13 @@ export default ['i18n', function(i18n) {
subForm: 'typeSubForm',
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
},
mattermost_no_verify_ssl: {
label: i18n._('Disable SSL Verification'),
type: 'checkbox',
ngShow: "notification_type.value == 'mattermost' ",
subForm: 'typeSubForm',
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
},
server: {
label: i18n._('IRC Server Address'),
type: 'text',