reset totp
This commit is contained in:
parent
48a8d1fb45
commit
fa1eb6a5f0
14 changed files with 354 additions and 83 deletions
|
@ -8,6 +8,7 @@ import errorHandler from "../middleware/errorHandler";
|
|||
|
||||
import publicAvailable from "./public";
|
||||
import setup from "./setup";
|
||||
import reset from "./reset";
|
||||
import auth from "./auth";
|
||||
import admin from "./admin/index";
|
||||
import user from "./user";
|
||||
|
@ -25,6 +26,7 @@ export default (app: Express) => {
|
|||
|
||||
app.use("/public", publicAvailable);
|
||||
app.use("/setup", allowSetup, setup);
|
||||
app.use("/reset", reset);
|
||||
app.use("/auth", auth);
|
||||
app.use(authenticate);
|
||||
app.use("/admin", admin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue