aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Job/RequestOutboundAuthToken.php
diff options
context:
space:
mode:
authorwinter2024-12-17 18:39:18 +0000
committerwinter2024-12-17 18:39:18 +0000
commit085762ec174eae1c519ec14db632f5ba197ed3c7 (patch)
tree9ad49bc839b5f72ded47c119ff01a09dfa0b934a /Digitigrade/Job/RequestOutboundAuthToken.php
parentbc2cd99b108b8755a648c3915714e7c0e0771548 (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/RequestOutboundAuthToken.php')
-rw-r--r--Digitigrade/Job/RequestOutboundAuthToken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Job/RequestOutboundAuthToken.php b/Digitigrade/Job/RequestOutboundAuthToken.php
index 1786e32..ef4de03 100644
--- a/Digitigrade/Job/RequestOutboundAuthToken.php
+++ b/Digitigrade/Job/RequestOutboundAuthToken.php
@@ -18,7 +18,7 @@ class RequestOutboundAuthToken extends Job {
public function run() {
Logger::getInstance()->info("requesting token from $this->domain in response to their dialback challenge");
- $instance = Instance::findByDomain($this->domain);
+ $instance = Instance::findByHostname($this->domain);
$instance->requestOutboundAuthToken($this->secret);
}