Login(){ let x = this.tyindexno; let y =this.typassword; var query = this.userlistRef.orderByKey(); query.once("value",function(snapshot) { snapshot.forEach(function(childSnapshot) { var key = childSnapshot.key; if(key==x){ // Cancel enumeration console.log(key); var childData = childSnapshot.val(); if(childData.password==y){ console.log(childData.password); } return true; } }); }) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)