From 02cd15198c6506187a215836bef93a17ac5b0c0d Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 4 Feb 2014 12:38:11 -0500 Subject: [PATCH] undefined fix --- library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.js b/library.js index bc9cda7..f03bb0b 100644 --- a/library.js +++ b/library.js @@ -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;