add select account prompt

This commit is contained in:
Paul Rodwell
2017-05-11 19:45:40 +01:00
parent c0fee618c5
commit bfa9a5ee58

View File

@ -289,7 +289,7 @@ module.exports = exports = (log, loga, argv) ->
'https://www.googleapis.com/auth/plus.profile.emails.read'
]}))
app.get('/auth/google/callback',
passport.authenticate(googleStrategyName, { successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
passport.authenticate(googleStrategyName, { prompt: 'select_account', successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
# Persona
app.post('/auth/browserid',