From 0f1a7ab2cf4fe3fe2c86f59a5db4dd2b47feb80a Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Mon, 26 Apr 2021 16:03:44 -0700 Subject: [PATCH] Creating 2fa. --- ui/src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/index.js b/ui/src/index.js index 1044620..4a0e31f 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -17,6 +17,8 @@ async function startApp() { root: path.join(__dirname, "public"), }) + app.get('/2fa', {}, async (request, reply) => reply.sendFile('2fa.html')) + app.get('/reset/:email/:exp/:token', {}, async (request, reply) => reply.sendFile('reset.html')) app.get('/verify/:email/:token', {}, async ( request, reply ) => {