wirm/Web/public/js/ebcd-auth.js

10 lines
185 B
JavaScript
Raw Normal View History

import { auth } from "./ebcd-common-firebase.js";
console.log("ebcd-auth loaded <3");
auth.onAuthStateChanged((user) => {
if (user) {
window.location = "/profile.html";
}
});