Skip to content

Commit

Permalink
Merge pull request #2482 from ushahidi/user-register-can-see-user-data
Browse files Browse the repository at this point in the history
fix(UserRegister) when signing up, the user must be able to read the data they just sent
  • Loading branch information
rowasc authored Feb 16, 2018
2 parents 6cbc20f + cb97432 commit f318c59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Core/Usecase/User/RegisterUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public function interact()
// get the newly created entity
$entity = $this->getCreatedEntity($id);

// verify that the entity can be read by the current user
$this->verifyReadAuth($entity);

// return the formatted entity
return $this->formatter->__invoke($entity);
}
Expand Down

0 comments on commit f318c59

Please sign in to comment.