Skip to content

Commit f549322

Browse files
committed
fix: update login API endpoint to use new email-based authentication
1 parent b2fc87b commit f549322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/frontend/src/views/Login.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ const onSubmit = form.handleSubmit(async (values) => {
9191
const controller = new AbortController()
9292
const timeoutId = setTimeout(() => controller.abort(), 10000) // 10 second timeout
9393
94-
const response = await fetch(`${apiUrl}/auth/login`, {
94+
const response = await fetch(`${apiUrl}/api/auth/email/login/email`, {
9595
method: 'POST',
9696
headers: {
9797
'Content-Type': 'application/json',
9898
},
9999
body: JSON.stringify({
100-
email: values.email,
100+
login: values.email,
101101
password: values.password,
102102
}),
103103
signal: controller.signal,

0 commit comments

Comments
 (0)