Skip to content

Commit

Permalink
Update login.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrolama authored Dec 25, 2024
1 parent 5f611df commit a3104ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a3104ce

Please sign in to comment.