daily pastebin goal
32%
SHARE
TWEET

routes

a guest Jun 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     router.get('/forgot', function (req, res) {
  3.         res.render('resetpasw', { message: req.flash('message') });
  4.     });
  5.  
  6.     router.post('/forgot', passport.authenticate('forgot', {
  7.         successRedirect: '/home',
  8.         failureRedirect: '/',
  9.         failureFlash: true
  10.     }));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top