Reset password APIs

This commit is contained in:
2024-06-30 17:01:39 +08:00
parent 7e334222ee
commit e5d8f1ab3b
11 changed files with 304 additions and 54 deletions

View File

@ -51,17 +51,28 @@ const router = createRouter({
meta: { public: true, title: "Sign up" },
},
{
path: "authorize",
path: "/authorize",
name: "oauth.authorize",
component: () => import("@/views/auth/authorize.vue"),
},
],
},
{
path: "/users/me/confirm",
name: "callback.confirm",
component: () => import("@/views/confirm.vue"),
meta: { public: true, title: "Confirm registration" },
path: "/flow",
children: [
{
path: "confirm",
name: "callback.confirm",
component: () => import("@/views/flow/confirm.vue"),
meta: { public: true, title: "Confirm registration" },
},
{
path: "password-reset",
name: "callback.password-reset",
component: () => import("@/views/flow/password-reset.vue"),
meta: { public: true, title: "Reset password" },
},
],
},
],
})