From cb31caed4b0378a3d9fc5784e3f0b6cd53604ef1 Mon Sep 17 00:00:00 2001 From: David Erwin Date: Fri, 25 Nov 2016 11:47:00 -0500 Subject: [PATCH] Update comments --- routes/admin/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/admin/index.js b/routes/admin/index.js index 2931626be..03852c375 100644 --- a/routes/admin/index.js +++ b/routes/admin/index.js @@ -1,10 +1,10 @@ const express = require('express'); const router = express.Router(); -// GET /password-reset expects an OpenID token in the hash. -// Links to this endpoit are generated in /views/password-reset-email.ejs. +// Get /password-reset expects a signed token (JWT) in the hash. +// Links to this endpoint are generated by /views/password-reset-email.ejs. router.get('/password-reset', (req, res, next) => { - // TODO: store the redirect uri in the token or something fancy + // TODO: store the redirect uri in the token or something fancy. // admins and regular users should probably be redirected to different places. res.render('password-reset', {redirectUri: process.env.TALK_ROOT_URL}); });