wirm/Web/public/js/ebcd-auth.js
2025-02-11 14:53:53 +08:00

9 lines
185 B
JavaScript

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