Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: make sign in message conditional to langfuse cloud env

Marc Klingenba58d6412cd7
diff --git a/web/src/pages/auth/sign-in.tsx b/web/src/pages/auth/sign-in.tsx
index dad10a3779..67519bc72f 100644
--- a/web/src/pages/auth/sign-in.tsx
+++ b/web/src/pages/auth/sign-in.tsx
@@ -348,11 +348,13 @@ export default function SignIn({ authProviders, signUpDisabled }: PageProps) {
</h2>
</div>
- <div className="-mb-10 mt-4 rounded-lg bg-card p-3 text-center text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-6">
- If you are experiencing issues signing in, please force refresh this
- page (CMD + SHIFT + R) or clear your browser cache. We have made a fix
- that is currently rolling out to all users.
- </div>
+ {env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined && (
+ <div className="-mb-10 mt-4 rounded-lg bg-card p-3 text-center text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-6">
+ If you are experiencing issues signing in, please force refresh this
+ page (CMD + SHIFT + R) or clear your browser cache. We have made a
+ fix that is currently rolling out to all users.
+ </div>
+ )}
<div className="mt-14 bg-background px-6 py-10 shadow sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-12">
<div className="space-y-6">