Reactivation Token time management
This commit is contained in:
parent
957d9c4dcc
commit
1fdc1a19ce
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue