st4lk / django-rest-social-auth

OAuth signin with django rest framework
MIT License
521 stars 122 forks source link

make the logging of failed authentication requests optional using a configuration value #42

Closed mounirmesselmeni closed 7 years ago

mounirmesselmeni commented 7 years ago

Make logging of exceptions when social auth raise a AuthForbidden(AuthException) error optional.

        try:
            user = self.get_object()
        except (AuthException, HTTPError) as e:
            return self.respond_error(e)
mounirmesselmeni commented 7 years ago

See #43

mounirmesselmeni commented 7 years ago

I hope you can release that asap. And thanks for the merge.

st4lk commented 7 years ago

@MounirMesselmeni Uploaded v1.1.0