From d0f08b4dd40bfb5fe05cf9e4d7ab4319b51d56a0 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 18 Apr 2016 16:04:09 -0400 Subject: [PATCH] added prompt to passport input for Google SSO --- src/routes/authentication.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/authentication.js b/src/routes/authentication.js index 8e1824cad6..62e2c66224 100644 --- a/src/routes/authentication.js +++ b/src/routes/authentication.js @@ -52,7 +52,8 @@ loginStrategies.forEach(function(strategy) { if (strategy.url) { router.get(strategy.url, passport.authenticate(strategy.name, { - scope: strategy.scope + scope: strategy.scope, + prompt: strategy.prompt || undefined })); }