mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 20:03:45 +02:00
More test suite coverage
This commit is contained in:
@@ -83,7 +83,7 @@ class DaemonKeyProviderService
|
||||
['server_id', '=', $server],
|
||||
]);
|
||||
|
||||
if (! $updateIfExpired || max($this->carbon->now()->diffInSeconds($key->expires_at, false), 0) > 0) {
|
||||
if (! $updateIfExpired || $this->carbon->now()->diffInSeconds($key->expires_at, false) > 0) {
|
||||
return $key->secret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user