|
@@ -222,7 +222,7 @@ import { Mail, Lock, ArrowRight, Loader2, ShieldCheck, KeyRound, ArrowLeft, Shie
|
|
|
import Button from "@/components/ui/button.vue";
|
|
import Button from "@/components/ui/button.vue";
|
|
|
import Logo from "@/components/Logo.vue";
|
|
import Logo from "@/components/Logo.vue";
|
|
|
import LanguageSwitcher from "@/components/LanguageSwitcher.vue";
|
|
import LanguageSwitcher from "@/components/LanguageSwitcher.vue";
|
|
|
-import { loginUser, registerUser, forgotPassword, resetPassword } from "@/lib/api";
|
|
|
|
|
|
|
+import { loginUser, registerUser, forgotPassword, resetPassword, socialLogin } from "@/lib/api";
|
|
|
import { useAuthStore } from "@/stores/auth";
|
|
import { useAuthStore } from "@/stores/auth";
|
|
|
import { currentLanguage } from "@/i18n";
|
|
import { currentLanguage } from "@/i18n";
|
|
|
|
|
|
|
@@ -294,7 +294,6 @@ function initGoogleLogin() {
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const { socialLogin } = await import("@/lib/api");
|
|
|
|
|
|
|
|
|
|
async function handleGoogleResponse(response: any) {
|
|
async function handleGoogleResponse(response: any) {
|
|
|
isLoading.value = true;
|
|
isLoading.value = true;
|