Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Authenticate should use username kwarg if no email is provided. #50

Merged
merged 5 commits into from
Mar 14, 2013

Conversation

sfllaw
Copy link
Contributor

@sfllaw sfllaw commented Mar 14, 2013

Fixes to pull request #45.

Zachery Bir and others added 5 commits February 6, 2013 19:06
Allow for 'username' explicitly in the authenticate() method. Some authenticators (like tastypie's) expect to authenticate() using 'username'.
Woops. Test for new behavior.
@sfllaw
Copy link
Contributor Author

sfllaw commented Mar 14, 2013

@tomchristie - I have fixed up #45 and it should be safe to merge this PR. I have tested on Django 1.3 and don't expect things to be any different for later versions.

tomchristie added a commit that referenced this pull request Mar 14, 2013
Authenticate should use `username` kwarg if no email is provided.
@tomchristie tomchristie merged commit c21ffda into dabapps:master Mar 14, 2013
@tomchristie
Copy link
Contributor

@sfllaw - Thx. 1.6.5 pushed to PyPI

@sfllaw
Copy link
Contributor Author

sfllaw commented Mar 15, 2013

@tomchristie - Awesome! Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants