From a3104ce0be3270bb1a942cff21a6b012800fe313 Mon Sep 17 00:00:00 2001 From: pietrolama <32061233+pietrolama@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:41:39 +0100 Subject: [PATCH] Update login.js --- js/login.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/login.js b/js/login.js index c5dab03..3363154 100644 --- a/js/login.js +++ b/js/login.js @@ -15,6 +15,9 @@ const app = initializeApp(firebaseConfig); const auth = getAuth(app); const provider = new GoogleAuthProvider(); +// Esporta app e auth per usarli in altri file +export { app, auth }; + // Login con Google document.getElementById("login-btn").addEventListener("click", async () => { try {