title: Did Firebase authentication change over night?
body: <p>I am using Firebase email authentication. It worked pretty well yesterday, but for some reason, it suddenly stopped working this morning, and I have not touched the authentication part in the code at all. I am wondering if there is any changes in Firebase that i am not aware? or I did something may affect it?</p>
  
  <p>Here is the code in controller:</p>
  
  <pre><code>// Home controller
  .controller('LoginCtrl', ['$scope', '$firebaseAuth', function($scope, $firebaseAuth) {
  
      // Auth Logic will be here
      var firebaseObj = new Firebase("https://xxxx/");
  
      var loginObj = $firebaseAuth(firebaseObj);
  
      $scope.user = {};
      $scope.SignIn = function(e){ 
           e.preventDefault();            //To prevent from refresh
           var email = $scope.user.username + '@whateverdomain.com';
           var password = $scope.user.password;
           console.log('Authentication start inside SignIn:' + );
           loginObj.$authWithPassword({
                      email: email,
                      password: password
                  })
                  .then(function(user) {
                      //Success callback
                      console.log('Authentication successful');
                      $location.path('/dashboard');
                  }, function(error) {
                      //Failure callback
                      console.log(error.code);
                      if(error.code === "INVALID_USER") {
                          console.log('INVALID_USER');
                          $scope.loginForm.username.$invalid = true;
                      }
                      if(error.code === "INVALID_PASSWORD") {
                          console.log('INVALID_Password');
                          $scope.loginForm.password.$invalid = true;
                      }
  
                  });
      }
  }]);
  </code></pre>
  
  <p>Here is the view:</p>
  
  <pre><code>&lt;body ng-controller="LoginCtrl"&gt;
  &lt;div class="container-login"&gt;
      &lt;div style="padding-bottom:0px; "&gt;
          &lt;h1&gt; Login&lt;/h1&gt;
      &lt;/div&gt;
      &lt;form class="form-signin" name="loginForm" style="color:#C3BCB6;"&gt;
          &lt;div class="form-group" ng-class="{'has-error':loginForm.username.$invalid}"&gt;
              &lt;label&gt;Username&lt;/label&gt;
              &lt;input ng-model="user.username" type="text" name="username" class="form-control" placeholder="Input your username" ng-minlength="5" ng-maxlength="12"&gt;&lt;/input&gt;
          &lt;/div&gt;
          &lt;div class="form-group" ng-class="{ 'has-error' : loginForm.password.$invalid }"&gt;
              &lt;label&gt;Password&lt;/label&gt;
              &lt;input ng-model="user.password" type="password" name="password" class="form-control" placeholder="Password" ng-minlength="8"&gt;&lt;/input&gt;
          &lt;/div&gt;
  
      &lt;button type="button" ng-click="SignIn($event)" ng-disabled="!user.username || !user.password" class="btn btn-lg btn-primary btn-block"&gt;Sign in&lt;/button&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>When authentication success, the user is supposed to redirect to the dashboard, or when it failed, it will show error message in the console.
  Currently, it only shows "Authentication starts", but no "Authentication success" or any error message, from error.code.</p>
  
  <p>I even checked out previous git commit, the authentication still did not work. Any thoughts? thanks!</p>