Parcourir la source

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

unknown il y a 2 jours
Parent
commit
730d8aaaba
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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()
     });