aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/auth.php
diff options
context:
space:
mode:
authorwinter2025-05-11 20:25:11 +0100
committerwinter2025-05-11 20:25:11 +0100
commit07d1f1236c11b4261ab2b954a91278711a24901c (patch)
treedc52072e468ec6a5980cbe6894459e8623441025 /routes/auth.php
parent5d7a4605bd0bd71949a37139eccfbf8a70d0c32e (diff)
sql console in admin menu + other misc
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");
}