diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 11:21:12 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 11:21:12 +0200 |
commit | d135ce7ed7768928b82fd1530b3cc13090397dfb (patch) | |
tree | 7c06d3e7177d72f65edd6358f221b8de18b99e66 /routes.js | |
parent | fixed some nicklists and other stuffs (diff) | |
download | Divid-d135ce7ed7768928b82fd1530b3cc13090397dfb.tar.gz |
added random access link for invited users. now they don't have to
register to post.
Diffstat (limited to 'routes.js')
-rw-r--r-- | routes.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ module.exports = function(app, passport, auth) { app.get('/logout', users.logout); + app.get('/login/:hash', passport.authenticate('hash', { failureRedirect: '/test'}), users.randomLogin); /** * REQUIRES LOGIN |