undefined fix

This commit is contained in:
Julian Lam 2014-02-04 12:38:11 -05:00
parent 7ba382e7f9
commit 02cd15198c

View File

@ -114,7 +114,7 @@
url: '/auth/oauth',
callbackURL: '/auth/generic/callback',
icon: 'check',
scope: meta.config['social:oauth:scope'].split(',')
scope: (meta.config['social:oauth:scope'] || '').split(',')
});
return strategies;