Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
♻️ Allow empty passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Aug 11, 2020
1 parent 8327891 commit bba4a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class AuthController {
validator(
{
email: Joi.string().email().required(),
password: Joi.string().min(6),
password: Joi.string().min(6).allow(""),
},
"body"
)
Expand Down

0 comments on commit bba4a39

Please sign in to comment.