Explorar o código

fix: remove empty email from social login payload to avoid validation error

unknown hai 2 días
pai
achega
730d8aaaba
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/pages/Auth.vue

+ 0 - 1
src/pages/Auth.vue

@@ -301,7 +301,6 @@ async function handleGoogleResponse(response: any) {
     const res = await socialLogin({
       provider: "google",
       token: response.credential,
-      email: "", // Backend will extract from token
       preferred_language: currentLanguage()
     });