From c1f809dfdb150025c51e0d4c243405f3b856f9ac Mon Sep 17 00:00:00 2001 From: "christian.vidal" Date: Fri, 27 Mar 2026 17:51:20 +0100 Subject: [PATCH] fix(auth): change allowed domain from @craze.de to @craze-group.com Co-Authored-By: Claude Sonnet 4.6 --- src/components/LoginPage.tsx | 2 +- src/lib/auth.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LoginPage.tsx b/src/components/LoginPage.tsx index 4545f66..f466604 100644 --- a/src/components/LoginPage.tsx +++ b/src/components/LoginPage.tsx @@ -51,7 +51,7 @@ export function LoginPage({ onLogin }: LoginPageProps) { type="email" value={email} onChange={e => setEmail(e.target.value)} - placeholder="you@craze.de" + placeholder="you@craze-group.com" required autoFocus className="w-full bg-slate-900 border border-slate-700 rounded-md px-3 py-2.5 text-sm text-white placeholder-slate-500 focus:outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition-colors" diff --git a/src/lib/auth.ts b/src/lib/auth.ts index e7f3822..ba62e0f 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -1,6 +1,6 @@ const SUPABASE_URL = 'https://hwithddwaapyhnfwcesj.supabase.co'; const SUPABASE_ANON_KEY = 'sb_publishable_fGXkh0bSrAOqSk2jWKAzSg_NJD9YPCv'; -const ALLOWED_DOMAIN = '@craze.de'; +const ALLOWED_DOMAIN = '@craze-group.com'; const SESSION_KEY = 'craze_auth_session'; export interface AuthSession {