diff options
| author | winter | 2024-12-17 18:39:18 +0000 |
|---|---|---|
| committer | winter | 2024-12-17 18:39:18 +0000 |
| commit | 085762ec174eae1c519ec14db632f5ba197ed3c7 (patch) | |
| tree | 9ad49bc839b5f72ded47c119ff01a09dfa0b934a /Digitigrade/Job/ExpireInboundAuthToken.php | |
| parent | bc2cd99b108b8755a648c3915714e7c0e0771548 (diff) | |
hopefully implement push!
again i can't really test this yet because i don't have two https instances that can talk to each other.
soon i will set that up and test all these recent commits
Diffstat (limited to 'Digitigrade/Job/ExpireInboundAuthToken.php')
| -rw-r--r-- | Digitigrade/Job/ExpireInboundAuthToken.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Job/ExpireInboundAuthToken.php b/Digitigrade/Job/ExpireInboundAuthToken.php index dfb5ae6..1ec3585 100644 --- a/Digitigrade/Job/ExpireInboundAuthToken.php +++ b/Digitigrade/Job/ExpireInboundAuthToken.php @@ -20,7 +20,7 @@ class ExpireInboundAuthToken extends Job { public function run() { Logger::getInstance()->info("expiring token for $this->domain"); - $instance = Instance::findByDomain($this->domain); + $instance = Instance::findByHostname($this->domain); if ($instance->auth->inboundToken != $this->token) { Logger::getInstance()->info("actually not expiring the token because it's been refreshed"); return; |
