feat: user can change login password
feat: user can change transaction password wip : Admin feature rights -InProgress
This commit is contained in:
@@ -7,4 +7,5 @@ const router = express.Router();
|
||||
router.post('/login', adminAuthController.login);
|
||||
router.get('/admin_details', adminAuthenticate, adminAuthController.fetchAdminDetails);
|
||||
router.get('/fetch/customer_details',adminAuthenticate,adminAuthController.getUserDetails);
|
||||
router.post('/user/rights',adminAuthenticate,adminAuthController.UserRights);
|
||||
module.exports = router;
|
||||
|
||||
@@ -9,10 +9,9 @@ router.get('/user_details', authenticate, authController.fetchUserDetails);
|
||||
router.get('/tpin', authenticate, authController.tpin);
|
||||
router.post('/tpin', authenticate, authController.setTpin);
|
||||
router.post('/login_password', authenticate, authController.setLoginPassword);
|
||||
router.post(
|
||||
'/transaction_password',
|
||||
authenticate,
|
||||
authController.setTransactionPassword
|
||||
);
|
||||
router.post('/transaction_password',authenticate,authController.setTransactionPassword);
|
||||
router.post('/change/login_password',authenticate,authController.changeLoginPassword);
|
||||
router.post('/change/transaction_password',authenticate,authController.changeTransPassword);
|
||||
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user