### Welcome Back !

Sign in to continue to Vhato.

Username
Forgot password?
Password
Remember me

##### Sign in with

Don't have an account ? Register

©
Vhato. Crafted with by Themesbrand

import { auth } from './firebase-config.js'; import { onAuthStateChanged } from "firebase/auth"; export function checkAuth() { onAuthStateChanged(auth, (user) => { if (!user) { // Redirecionar para a página de login se o usuário não estiver autenticado window.location.href = 'auth-login.html'; } }); }