fix: Hide Dev Quick Demo Login box in production build

This commit is contained in:
Richard committed 2026-07-31 10:45:12 +02:00
1 parent 25eeb054ce
commit bc9d7caa73
3 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -121,8 +121,8 @@ export default function AuthModal({ onClose, onSuccess, claimToken, prefilledGue
</div>
)}
{/* Quick Demo Login Box */}
{!isRegister && (
{/* Quick Demo Login Box (Development Mode Only) */}
{!isRegister && import.meta.env.DEV && (
<div className="mb-5 p-3.5 rounded-sm bg-subtle border border-grid space-y-2 font-mono">
<div className="text-[11px] font-semibold text-muted uppercase tracking-wider flex items-center justify-between">
<span>⚡ Dev Schnell-Login</span>