Skip to content

Commit

Permalink
feat: (server) remove password min-max limit from login validation (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
aninda052 committed Sep 13, 2023
1 parent 0295ceb commit 01bdea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/modules/authentication/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { User } = require('../db/collections');

const schema = Joi.object().keys({
email: Joi.string().email().required(),
password: Joi.string().min(4).max(15).required(),
password: Joi.string().required(),
});

const loginValidate = (data) => {
Expand Down

0 comments on commit 01bdea9

Please sign in to comment.