From 75666dc1b4a711d2b5c1d79e1bf7ab2dc3bfce15 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 14 Jul 2026 10:14:00 -0500 Subject: [PATCH] give auth --- src/webpage/localuser.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/webpage/localuser.ts b/src/webpage/localuser.ts index 2310e01..363b8c5 100644 --- a/src/webpage/localuser.ts +++ b/src/webpage/localuser.ts @@ -3854,7 +3854,9 @@ class Localuser { } { const instanceInfo = settings.addButton(I18n.instanceInfo.name()); - fetch(this.info.api + "/policies/instance") + fetch(this.info.api + "/policies/instance", { + headers: this.headers, + }) .then((_) => _.json()) .then((body) => { const json = body as {