Browse Source

fix: change password route

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1825/head
Wing-Kam Wong 2 years ago
parent
commit
7c5f161bb2
  1. 3
      packages/nocodb/src/lib/noco/meta/api/userApi/userApis.ts

3
packages/nocodb/src/lib/noco/meta/api/userApi/userApis.ts

@ -443,6 +443,7 @@ const mapRoutes = router => {
);
router.post('/auth/token/refresh', ncMetaAclMw(refreshToken, 'refreshToken'));
// new API
router.post('/api/v1/db/auth/user/signup', catchError(signup));
router.post('/api/v1/db/auth/user/signin', catchError(signin));
router.get(
@ -464,7 +465,7 @@ const mapRoutes = router => {
catchError(emailVerification)
);
router.post(
'/user/password/change',
'/api/v1/db/auth/password/change',
ncMetaAclMw(passwordChange, 'passwordChange')
);
router.post(

Loading…
Cancel
Save