witoldsz / angular-http-auth

MIT License
2.37k stars 416 forks source link

Add loginCancelled to readme file #90

Closed david-byng closed 8 years ago

david-byng commented 9 years ago
The authService has only one method: #loginConfirmed().
      loginCancelled: function(data, reason) {
        httpBuffer.rejectAll(reason);
        $rootScope.$broadcast('event:auth-loginCancelled', data);
      }

Updating the readme to include info on how to use the loginCancelled method would make it easier for people to get started with angular-http-auth.

moskeyombus commented 8 years ago

Finding this issue saved me from pulling angular-http-auth out of my project entirely. PR opened to fix the documentation.