From 7a6ea34468a4356a53e2f94c310a0fc0da3cc843 Mon Sep 17 00:00:00 2001 From: David Erwin Date: Fri, 25 Nov 2016 10:42:38 -0500 Subject: [PATCH] Remove the preview link --- routes/admin/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/routes/admin/index.js b/routes/admin/index.js index 9d3cbd0a9..2931626be 100644 --- a/routes/admin/index.js +++ b/routes/admin/index.js @@ -1,12 +1,8 @@ const express = require('express'); const router = express.Router(); -router.get('/embed/stream/preview', (req, res) => { - res.render('embed-stream', {basePath: '/client/embed/stream'}); -}); - -// this route is expecting there to be a token in the hash -// see /views/password-reset-email.ejs +// GET /password-reset expects an OpenID token in the hash. +// Links to this endpoit are generated in /views/password-reset-email.ejs. router.get('/password-reset', (req, res, next) => { // TODO: store the redirect uri in the token or something fancy // admins and regular users should probably be redirected to different places.