Page MenuHomeSealhub

account.routes.ts
No OneTemporary

account.routes.ts

import Router from "@koa/router";
import { Middlewares } from "sealious";
import finalizePasswordReset from "./finalize-password-reset";
import confirmPasswordReset from "./confirm-password-reset";
import finalizeRegistrationIntent from "./finalize-registration-intent";
import createRouter from "./create/create.routes";
import { confirmRegistrationRouter } from "./confirm-registration-email/confirm-registration-email.routes";
export const accountsRouter = (router: Router): void => {
router.post(
"/account/finalize-registration-intent",
Middlewares.parseBody,
finalizeRegistrationIntent
);
router.post(
"/account/finalize-password-reset",
Middlewares.parseBody,
finalizePasswordReset
);
router.get("/account/confirm-password-reset", confirmPasswordReset);
createRouter(router);
confirmRegistrationRouter(router);
};

File Metadata

Mime Type
text/x-java
Expires
Tue, Dec 24, 14:04 (12 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557269
Default Alt Text
account.routes.ts (843 B)

Event Timeline