Skip to content

Commit 14e9b64

Browse files
authored
Update login.html
1 parent bfde3e9 commit 14e9b64

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

platform/login.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,11 @@ <h2>Sign In</h2>
369369
const res = await fetch(`${API}/api/auth/login`, {
370370
method: 'POST',
371371
headers: { 'Content-Type': 'application/json' },
372-
body: JSON.stringify({ email, password }),
372+
body: JSON.stringify({
373+
email,
374+
password,
375+
role: selectedRole
376+
}),
373377
signal: controller.signal
374378
});
375379

0 commit comments

Comments
 (0)