Set llm-steganography page to no-login (auth mode none) by default

This commit is contained in:
Laan Tungir
2026-06-28 20:18:18 -04:00
parent 28c8109f8a
commit 27f4cd6857
2 changed files with 8 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
{
"VERSION": "v0.7.57",
"VERSION_NUMBER": "0.7.57",
"BUILD_DATE": "2026-06-29T00:17:04.254Z"
"VERSION": "v0.7.58",
"VERSION_NUMBER": "0.7.58",
"BUILD_DATE": "2026-06-29T00:18:18.870Z"
}

View File

@@ -714,12 +714,11 @@
return explicitAuth;
}
// Convention: explicit target profiles are public-readable by default.
if (hasTargetPubkeyInUrl()) {
return 'optional';
}
return 'required';
// This page is a standalone demo that does not require Nostr auth.
// Default to 'none' so visitors are never prompted to log in; the
// sidenav logout button doubles as a "Sign in" entry point if a user
// wants to access relay/blossom/AI sections.
return 'none';
}
function isAuthRequiredError(error) {