Update index.html
1 file changed+1−1
index.html+1−1View file
| @@ -1738,7 +1738,7 @@ | ||
| const isDemoFreelancer = email.toLowerCase() === DEMO_ACCOUNTS.freelancer.email.toLowerCase(); | ||
| if (isDemoAdmin || isDemoFreelancer) { | ||
| const demo = isDemoAdmin ? DEMO_ACCOUNTS.admin : DEMO_ACCOUNTS.freelancer; | ||
| - const regRes = await fetch('/api/auth/register', { | ||
| + const regRes = null; // { | ||
| method: 'POST', | ||
| headers: { 'Content-Type': 'application/json' }, | ||
| body: JSON.stringify({ email: demo.email, password, name: demo.name, role: demo.role }) | ||