Current Version: 0.8.6-beta.3
Tech Stack: Nextjs
I applied email and password login in my project it works fine when we send a request from client to server and it checks with zod for client side validation and passes data correctly. But if we i use postman to send a request with credential information i have no control to check if the password or confirm password is correct or if password is in correct format. Even if i send wrong type of information using postman if accepts and creates a new user without a check at server.
Main point is that there should be a middleware or check function so the we could also the types or other credential information on server before we add to database