const authMid = require('../middlewares/Auth/auth.middle'); const authController = require('../controllers/auth.controller') const authJwt = require('../middlewares/authjwt'); module.exports = (app) => { // app.post('/register',[authMid.fieldCheck,authMid.uniqueEmail] ,authController.signUp); app.post('/register' ,authController.signUp); // app.post('/login',[authMid.fieldCheck,authMid.userCheckEmail],authController.signIn); app.post('/login',authController.signIn); app.post('/verifyotp',authController.verifyOtp); app.post('/resendotp',authController.resendOTP); app.post('/forgotPassword',authController.forgotPassword) app.post('/resetPassword',authController.resetPassword) }