Save the tool proxy on the consumer

This commit is contained in:
John Okely 2016-08-31 11:08:48 +08:00
parent 047dc7c717
commit 635a47fde8
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();
}