|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
RocketChat.settings.add 'API_Dolphin_URL', '', { type: 'string', group: 'OAuth', public: true, section: 'Dolphin' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin', false, { type: 'boolean', group: 'OAuth', section: 'Dolphin' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_id', '', { type: 'string', group: 'OAuth', section: 'Dolphin' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_secret', '', { type: 'string', group: 'OAuth', section: 'Dolphin' } |
|
|
|
|
RocketChat.settings.add 'API_Dolphin_URL', '', { type: 'string', group: 'OAuth', public: true, section: 'Dolphin', i18nLabel: 'Accounts_OAuth_Dolphin_Url' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin', false, { type: 'boolean', group: 'OAuth', section: 'Dolphin', i18nLabel: 'Accounts_OAuth_Custom_Enable' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_id', '', { type: 'string', group: 'OAuth', section: 'Dolphin', i18nLabel: 'Accounts_OAuth_Custom_id' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_secret', '', { type: 'string', group: 'OAuth', section: 'Dolphin', i18nLabel: 'Accounts_OAuth_Custom_Secret' } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_login_style', 'redirect', { type: 'select' , group: 'OAuth', section: "Dolphin", i18nLabel: 'Accounts_OAuth_Custom_Login_Style', persistent: true, values: [ { key: 'redirect', i18nLabel: 'Redirect' }, { key: 'popup', i18nLabel: 'Popup' }, { key: '', i18nLabel: 'Default' } ] } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_button_label_text', '', { type: 'string' , group: 'OAuth', section: "Dolphin", i18nLabel: 'Accounts_OAuth_Custom_Button_Label_Text', persistent: true } |
|
|
|
|
RocketChat.settings.add 'Accounts_OAuth_Dolphin_button_label_color', '#FFFFFF', { type: 'string' , group: 'OAuth', section: "Dolphin", i18nLabel: 'Accounts_OAuth_Custom_Button_Label_Color', persistent: true } |
|
|
|
|