gbezyuk / django-crowd

Simple Attlasian CROWD authentication backend for Django
Other
18 stars 14 forks source link

Change the authenticate method in order to return the instance of the newly created user #2

Closed rafael84 closed 10 years ago

rafael84 commented 10 years ago

Only after this change was made I was able to authenticate with Crowd version 2.6.5, but I'm not sure if the Crowd version is related to issue however.

As the method _create_new_user_from_crowd_response returns an user instance, I think that instance should be the return value of the authenticate method also.