Skip to content
Snippets Groups Projects
Unverified Commit 769508c4 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

SAML: Use multiline for cert settings

parent 8a8ad59e
No related merge requests found
...@@ -22,12 +22,14 @@ Meteor.methods ...@@ -22,12 +22,14 @@ Meteor.methods
type: 'string' , type: 'string' ,
group: 'SAML', group: 'SAML',
section: name, section: name,
multiline: true,
i18nLabel: 'SAML_Custom_Public_Cert' i18nLabel: 'SAML_Custom_Public_Cert'
} }
RocketChat.settings.add "SAML_Custom_#{name}_private_key", '', { RocketChat.settings.add "SAML_Custom_#{name}_private_key", '', {
type: 'string' , type: 'string' ,
group: 'SAML', group: 'SAML',
section: name, section: name,
multiline: true,
i18nLabel: 'SAML_Custom_Private_Key' i18nLabel: 'SAML_Custom_Private_Key'
} }
RocketChat.settings.add "SAML_Custom_#{name}_button_label_text" , '' , { type: 'string' , group: 'SAML', section: name, i18nLabel: 'Accounts_OAuth_Custom_Button_Label_Text'} RocketChat.settings.add "SAML_Custom_#{name}_button_label_text" , '' , { type: 'string' , group: 'SAML', section: name, i18nLabel: 'Accounts_OAuth_Custom_Button_Label_Text'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment