window.addEventListener('load', pageLoad)
// Dashboard loading
function pageLoad(){
onAuthStateChanged(auth, async (user)=>{
if(user){
console.log(user)
}else{
window.location.href = 'http://127.0.0.1:5000/login.html'
}
})
}
My problem is that when I run this I can see everything about the user like the password and I think also the hash parameters: passwordHash:"fakeHash:salt=fakeSaltfWcJeJjzWoNxCHlPkAdg:password=testpassword123". The testpassword123 is the password of the test user. My question is this only because I am in an emulator or will it also be in production mode? if yes, how can I prevent such a thing? I couldn't find anything about that on the internet.
Tried google and youtube