aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes.js')
-rw-r--r--routes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes.js b/routes.js
index 071d3d0..1717766 100644
--- a/routes.js
+++ b/routes.js
@@ -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