Password reset (#7494)

* wip

* wip

* Update well-known.ts

* wip

* clean up

* Update request-reset-password.ts

* Update forgot-password.vue

* Update reset-password.ts

* Update request-reset-password.ts
This commit is contained in:
syuilo
2021-05-04 15:05:34 +09:00
committed by GitHub
parent a34d8549d0
commit 6ae642245e
13 changed files with 333 additions and 3 deletions

View File

@ -61,6 +61,11 @@ router.get('/.well-known/nodeinfo', async ctx => {
ctx.body = { links };
});
/* TODO
router.get('/.well-known/change-password', async ctx => {
});
*/
router.get(webFingerPath, async ctx => {
const fromId = (id: User['id']): Record<string, any> => ({
id,