Open rajbukhariya12 opened 4 years ago
Suffering from same issue...
Can you attach the actual login page ejs file?
make sure you have:
<% include ./partials/messages %>
above the form tag on the login/signup page
Can you try replacing the "data-dismiss" attribute with "data-bs-dismiss" inside the messages.js file and see if it works or not?
if I don't satisfy the validation requirement in the signup form, It doesn't redirect to the next page and 3-4 line gap comes right below my signup and login form heading tags. This means my errors are coming on the top of signup and login form but it is not visible may be some color issues or something.
Please help me fix the issue. i want the validation errors should be dispalyed on top on both the forms
This is my main server.js file
This is my partial ejs file
This is my routes files