slashdotdash / conduit

RealWorld example backend implementing the CQRS/ES pattern in Elixir and Phoenix
MIT License
347 stars 67 forks source link

Add password validation to RegisterUser command #29

Open sahina opened 4 years ago

sahina commented 4 years ago

RegisterUser only validates username and email rules. It is possible to register user with

POST /api/users
{
    "user": {
        "username": "homer",
        "email": "homer@homer.com"
    }
}