diff options
| author | Apache <apache@localhost.localdomain> | 2016-03-30 12:40:30 +0200 |
|---|---|---|
| committer | Apache <apache@localhost.localdomain> | 2016-03-30 12:40:30 +0200 |
| commit | 1fdc1a19ce180e4db111354cbedc436a15dd803c (patch) | |
| tree | a2fa2bd5111637faa753d47c11327bed55348943 | |
| parent | 957d9c4dccc53c63e83cb33f81218593489a8e7c (diff) | |
Reactivation Token time management
| -rwxr-xr-x | server/core/LibOverride/genTokenOptions.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/core/LibOverride/genTokenOptions.php b/server/core/LibOverride/genTokenOptions.php index 4733c5a..1fbee06 100755 --- a/server/core/LibOverride/genTokenOptions.php +++ b/server/core/LibOverride/genTokenOptions.php @@ -51,9 +51,9 @@ class genTokenOptions } public function checkToken(){ - //error_log($this->backup['time'], 0); - //return $this->backup['time'] > time(); - return true; + //error_log(print_r($this->backup['time'], true), 0); + return $this->backup['time'] > time(); + //return true; } public function genIdentityToken(){ @@ -386,7 +386,7 @@ class genTokenOptions $token->catalog = new Models\Catalog($this->httpClient, $api); $token->catalog->services = []; - error_log(print_r($Saved["catalog"], true), 0); + //error_log(print_r($Saved["catalog"], true), 0); foreach($Saved["catalog"] as $key => $service){ $tmp = new Models\Service($this->httpClient, $api); |
