There was an error while loading. Please reload this page.
1 parent 8435cbe commit d3c40bbCopy full SHA for d3c40bb
1 file changed
frontend/src/pages/login-page.tsx
@@ -65,7 +65,7 @@ export const LoginPage = () => {
65
});
66
67
const loginMutation = useMutation({
68
- mutationFn: (values: LoginSchema) => axios.post("/api/login", values),
+ mutationFn: (values: LoginSchema) => axios.post("/api/user/login", values),
69
mutationKey: ["login"],
70
onSuccess: (data) => {
71
if (data.data.totpPending) {
0 commit comments