dotkernel / api

DotKernel's PSR-7 REST style API built around the Mezzio API skeleton.
https://docs.dotkernel.org/api-documentation/
MIT License
35 stars 5 forks source link

post /account/register mandatory fields #134

Closed kakapiciu closed 2 years ago

kakapiciu commented 2 years ago

registering a new user using only identity, password and passwordConfirm will pass input filter validation and lead to error

{ "error": { "messages": [ "Trying to access array offset on value of type null" ] } }

more specific: ErrorException raised in file {projectDirectory}/src/User/src/Service/UserService.php line 118: Message: Trying to access array offset on value of type null

meaning the backend expects a 'detail' key with firstname and firstname