make twitter photo higher resolution on login. remove twitter redirect middleware
This commit is contained in:
4
app.js
4
app.js
@ -293,13 +293,11 @@ app.get('/auth/twitter', passport.authenticate('twitter'));
|
||||
app.get(
|
||||
'/auth/twitter/callback',
|
||||
passport.authenticate('twitter', {
|
||||
successRedirect: '/auth/twitter/middle',
|
||||
successRedirect: '/',
|
||||
failureRedirect: '/login'
|
||||
})
|
||||
);
|
||||
|
||||
app.get('/auth/twitter/middle', passportConf.hasEmail);
|
||||
|
||||
app.get(
|
||||
'/auth/linkedin',
|
||||
passport.authenticate('linkedin', {
|
||||
|
Reference in New Issue
Block a user