summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorApache <apache@localhost.localdomain>2016-03-30 12:40:30 +0200
committerApache <apache@localhost.localdomain>2016-03-30 12:40:30 +0200
commit1fdc1a19ce180e4db111354cbedc436a15dd803c (patch)
treea2fa2bd5111637faa753d47c11327bed55348943
parent957d9c4dccc53c63e83cb33f81218593489a8e7c (diff)
Reactivation Token time management
-rwxr-xr-xserver/core/LibOverride/genTokenOptions.php8
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);