Search for user by attribute no angularfire

0

I have an application on ionic with angularfire2 in version 5. How do I get the user's UID by email?

Currently, my code looks like this:

const usuariosRef = this.db.list('usuarios/uid', ref => ref.orderByChild('email').equalTo(this.email).limitToFirst(1)).valueChanges();

I save each user by their UID.

    
asked by anonymous 27.05.2018 / 14:26

0 answers