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