diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-09-17 07:46:38 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-09-17 07:46:38 -0400 |
commit | ce19b3c21197b57267804790c749769d2ddd1035 (patch) | |
tree | 91933c679b08d7f0356c5f0f18c44af0085990e2 /web/react/components | |
parent | e644b53b72d346539f5c58cc0cb0a07c4054cbcb (diff) | |
download | chat-ce19b3c21197b57267804790c749769d2ddd1035.tar.gz chat-ce19b3c21197b57267804790c749769d2ddd1035.tar.bz2 chat-ce19b3c21197b57267804790c749769d2ddd1035.zip |
Properly check if OAuth providing is enabled on the client.
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/user_settings_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings_modal.jsx b/web/react/components/user_settings_modal.jsx index 1daf6ebb9..67a4d0041 100644 --- a/web/react/components/user_settings_modal.jsx +++ b/web/react/components/user_settings_modal.jsx @@ -35,7 +35,7 @@ export default class UserSettingsModal extends React.Component { tabs.push({name: 'security', uiName: 'Security', icon: 'glyphicon glyphicon-lock'}); tabs.push({name: 'notifications', uiName: 'Notifications', icon: 'glyphicon glyphicon-exclamation-sign'}); tabs.push({name: 'appearance', uiName: 'Appearance', icon: 'glyphicon glyphicon-wrench'}); - if (global.window.config.EnableOAuthServiceProvider) { + if (global.window.config.EnableOAuthServiceProvider === 'true') { tabs.push({name: 'developer', uiName: 'Developer', icon: 'glyphicon glyphicon-th'}); } |