mirror of
https://github.com/BradNut/node-auth
synced 2025-09-08 17:40:17 +00:00
Creating 2fa.
This commit is contained in:
parent
d480043b5a
commit
0f1a7ab2cf
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ async function startApp() {
|
||||||
root: path.join(__dirname, "public"),
|
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('/reset/:email/:exp/:token', {}, async (request, reply) => reply.sendFile('reset.html'))
|
||||||
|
|
||||||
app.get('/verify/:email/:token', {}, async ( request, reply ) => {
|
app.get('/verify/:email/:token', {}, async ( request, reply ) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue