Skip to content

Commit

Permalink
Merge pull request #829 from PROCERGS/preview-1.20.1
Browse files Browse the repository at this point in the history
v1.20.1
  • Loading branch information
guilhermednt authored Jan 9, 2019
2 parents 1c3e17d + b17be6f commit 233c48c
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 68 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "procergs/login-cidadao",
"version": "1.20.0",
"version": "1.20.1",
"license": "AGPL-3.0",
"type": "project",
"description": "login-cidadao",
Expand Down
137 changes: 71 additions & 66 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function loadUserByOAuthUserResponse(UserResponseInterface $response)
$this->userManager->updateCanonicalFields($user);

/** @var ConstraintViolationList $errors */
$errors = $this->validator->validate($user, ['LoginCidadaoProfile']);
$errors = $this->validator->validate($user, null, ['LoginCidadaoProfile']);
if (count($errors) > 0) {
foreach ($errors as $error) {
if ($error->getPropertyPath() === 'email'
Expand Down

0 comments on commit 233c48c

Please sign in to comment.