Merge pull request #3 from xow/feature-saveproxy

Save the tool proxy on the consumer
This commit is contained in:
Stephen Vickers 2016-09-06 09:36:43 +01:00 committed by GitHub
commit 87dc9dcfca
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ class ToolProvider
if ($ok) {
$this->consumer->setKey($http->responseJson->tool_proxy_guid);
$this->consumer->secret = $toolProxy->security_contract->shared_secret;
$this->consumer->toolProxy = json_encode($toolProxy);
$this->consumer->save();
}