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

Commit

Permalink
♻️ Make login password optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Aug 3, 2020
1 parent efbc78f commit cabd9e1
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 @@ -85,7 +85,7 @@ export class AuthController {
validator(
{
email: Joi.string().email().required(),
password: Joi.string().min(6).required(),
password: Joi.string().min(6),
},
"body"
)
Expand Down

0 comments on commit cabd9e1

Please sign in to comment.