Skip to content

Commit

Permalink
improv: fix server handshake
Browse files Browse the repository at this point in the history
  • Loading branch information
Eywek committed May 3, 2018
1 parent cb4e58d commit dfa665a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.2
1.5.3
3 changes: 1 addition & 2 deletions app/Controller/Component/ServerComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ public function check($info, $value)
$path = 'http://' . $value['host'] . ':' . $value['port'] . '/handshake';
$secure = json_decode(file_get_contents(ROOT . DS . 'config' . DS . 'secure'), true);
$data = json_encode(array(
'licenseId' => $secure['id'],
'licenseKey' => $secure['key'],
'secretKey' => $this->getSecretKey(),
'domain' => Router::url('/', true)
));

Expand Down

0 comments on commit dfa665a

Please sign in to comment.