mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
added prompt to passport input for Google SSO
This commit is contained in:
@@ -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
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user