From 9a3ccdf47ddd78d1eb421474c48eff657d0e096a Mon Sep 17 00:00:00 2001 From: DRvanR Date: Thu, 18 Jun 2015 13:49:32 +0200 Subject: [PATCH] Use new version of UpdateIdentityCommand --- composer.json | 2 +- composer.lock | 14 +++++++------- .../SelfServiceBundle/Service/IdentityService.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 99f353f21..4851f1097 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "fortawesome/font-awesome": "~4.2.0", "jms/translation-bundle": "~1.1.0", "jms/di-extra-bundle": "~1.4.0", - "surfnet/stepup-middleware-client-bundle": "dev-develop", + "surfnet/stepup-middleware-client-bundle": "dev-feature/send-institution-with-update-identity-command", "guzzlehttp/guzzle": "~4", "simplesamlphp/saml2": "dev-master", "surfnet/stepup-saml-bundle": "dev-develop", diff --git a/composer.lock b/composer.lock index ec580e081..e01eb38a9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "71535f2296cfa353cccb1163f2ec97c8", + "hash": "517ae233c2509d6b0879849721942bd8", "packages": [ { "name": "beberlei/assert", @@ -1765,7 +1765,7 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SURFnet/Stepup-bundle/zipball/b11ce75c7f00b64b8b000846db6ef1d56dcd490c", + "url": "https://api.github.com/repos/SURFnet/Stepup-bundle/zipball/10a75d6bafb65fa233e64236047d67aa37850b3b", "reference": "b11ce75c7f00b64b8b000846db6ef1d56dcd490c", "shasum": "" }, @@ -1809,16 +1809,16 @@ }, { "name": "surfnet/stepup-middleware-client-bundle", - "version": "dev-develop", + "version": "dev-feature/send-institution-with-update-identity-command", "source": { "type": "git", "url": "https://github.com/SURFnet/Stepup-Middleware-clientbundle.git", - "reference": "929b8a75042ac129d91eb691d773f4cf41081ec1" + "reference": "31f0e00c536aa186514f5bdfc1ebad88e90b4131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SURFnet/Stepup-Middleware-clientbundle/zipball/541df9564a8680b6001b0c18a8b01b74f6013158", - "reference": "929b8a75042ac129d91eb691d773f4cf41081ec1", + "url": "https://api.github.com/repos/SURFnet/Stepup-Middleware-clientbundle/zipball/31f0e00c536aa186514f5bdfc1ebad88e90b4131", + "reference": "31f0e00c536aa186514f5bdfc1ebad88e90b4131", "shasum": "" }, "require": { @@ -1854,7 +1854,7 @@ "Apache-2.0" ], "description": "Symfony2 bundle for consuming the Step-up Middleware API.", - "time": "2015-06-01 15:00:06" + "time": "2015-06-18 11:24:53" }, { "name": "surfnet/stepup-saml-bundle", diff --git a/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php b/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php index e99cd0d1c..0545827ed 100644 --- a/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php +++ b/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php @@ -157,7 +157,7 @@ public function createIdentity(Identity $identity) */ public function updateIdentity(Identity $identity) { - $command = new UpdateIdentityCommand($identity->id); + $command = new UpdateIdentityCommand($identity->id, $identity->institution); $command->email = $identity->email; $command->commonName = $identity->commonName;