2

Apparently you cannot filter based on two parameters in firebase so something similar to "select * from table where email='something' and password ='something' " doesn't work .

So a shitty hack is to create a string to concatenate email and password and store it as a field and validate based on that field.

So basically there is a field in database which is

Sha256("emailid"+_+sha256("password"))

Comments
Add Comment