Skip to content

Commit

Permalink
Update sprout.js
Browse files Browse the repository at this point in the history
  • Loading branch information
camillereaves authored Sep 24, 2023
1 parent 2532965 commit ac4c69f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/sprout.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,15 @@ document.getElementById("login_form").addEventListener("submit", async function
.then((userCredential) => {
// Signed in
const user = userCredential.user;
console.log("user = " + user);
// ...
})
.catch((error) => {
const errorCode = error.code;
const errorMessage = error.message;
// ..
});

}
/*const user = auth.currentUser;
const uid = user.uid;
console.log("UID = " + uid);
Expand Down

0 comments on commit ac4c69f

Please sign in to comment.