aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/auth.php')
-rw-r--r--routes/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/auth.php b/routes/auth.php
index b03ee52..f18d4e7 100644
--- a/routes/auth.php
+++ b/routes/auth.php
@@ -20,7 +20,7 @@ Router::getInstance()->mount('/auth/main', function (array $args) {
throw new BadRequest('you need to specify the `target` GET parameter');
}
$domain = hostname_from_uri($_GET['target']);
- $instance = Instance::findByHostname($domain);
+ $instance = Instance::findByHostname($domain, forceRefetch: true);
if ($instance == null) {
throw new RuntimeException("i can't find your instance information, sorry");
}