Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

test(auth): isolate default proxy policy from host configuration

Abdurrahman Fakhrul5690976c4bee
diff --git a/app/api/auth/login/route.test.ts b/app/api/auth/login/route.test.ts
index d43631df..af485a6f 100644
--- a/app/api/auth/login/route.test.ts
+++ b/app/api/auth/login/route.test.ts
@@ -15,6 +15,7 @@ function reqWith(headers: Record<string, string>): NextRequest {
beforeEach(() => {
vi.unstubAllEnvs();
+ vi.stubEnv("OS_TRUSTED_PROXY_HOPS", undefined);
});
afterEach(() => {
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 57e57b99..f3a649ca 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -10,6 +10,10 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
- `security` protect public admission and OAuth registration trust
+**Tests**
+
+- `auth` isolate default proxy policy from host configuration
+
## 2026-10-09
**Added**