Firebase prevents "spam" registration "Password"

I have an application running on Firebase, and I noticed a normal registration in my database. So, I looked through my code to find the problem. And I realized if I write this code in my browser console.

 var xs = new Firebase('<My-firebase-url>')
 xs.createUser({
    email: 'email@mail.com',
    password: 'passwrd'
  }, function(error, userData) {
    console.log(userData, error) //creates a new user
   })

It creates a new user in my database. How can I limit this to the case with Firebase or angular or node-js or any other way, I can stop this logging spam from stopping.

Thanks.

+4
source share
1 answer

, , URL- firebase , - .

-3

Source: https://habr.com/ru/post/1621152/


All Articles