signInWithEmailAndPassword add one more condition
Version info
Angular: 6.x Firebase: 5.5.x AngularFire: 2 Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true); **
** Screenshots **
Expected behavior
except for email and password , I want to add one condition this condition is needed to query the firestore.
the login condition is following: When I login with email and password succeed, I do not want the firebase let me in login status until the additional condition pass. Then, firebase let me login.
thx.
Actual behavior
Hi.
Not quite is an issue with this package, is more like bussines logic. The solution is a mix between rules [https://firebase.google.com/docs/database/security/?hl=es-419 ] on you database, then query before try login.