fehler behoben

This commit is contained in:
Lukas Nowy 2018-11-29 18:06:50 +01:00
parent 96e0516601
commit d5606c4115

View File

@ -48,9 +48,8 @@ router.get('/auth/google/callback',
);
router.get('/logout', (req, res) => {
req.session.passport.user.profile.id = null;
req.logout();
res.redirect('/');
res.redirect("https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=http://localhost:7000/");
});
router.get('/dash', isLoggedIn, function(req, res, next) {