Added "display: popup" to the facebook dialog

This commit is contained in:
Wyatt Johnson
2016-11-11 14:27:48 -07:00
parent f6184fddb0
commit 68433ec973
+1 -1
View File
@@ -79,7 +79,7 @@ router.post('/local', (req, res, next) => {
* Facebook auth endpoint, this will redirect the user immediatly to facebook
* for authorization.
*/
router.get('/facebook', passport.authenticate('facebook'));
router.get('/facebook', passport.authenticate('facebook', {display: 'popup'}));
/**
* Facebook callback endpoint, this will send the user a html page designed to