TODO
This commit is contained in:
1 parent
8640ded6ea
commit
33ba6312f3
2 files changed
+7
No files matched your search
@@ -3,3 +3,9 @@ Python client API wrapper for [DUSKEN](http://git.neuf.no/?p=dusken.git).
|
|||||||
Inspired by [trello](https://pypi.python.org/pypi/trello).
|
Inspired by [trello](https://pypi.python.org/pypi/trello).
|
||||||
|
|
||||||
See example.py to get started.
|
See example.py to get started.
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
Fix DuskenAuthBackend for django
|
||||||
|
|
||||||
|
https://developers.google.com/accounts/docs/OAuth2WebServer#refresh
|
||||||
@@ -36,6 +36,7 @@ class DuskenBackend(object):
|
|||||||
user.save()
|
user.save()
|
||||||
|
|
||||||
def authenticate(self, username=None, password=None):
|
def authenticate(self, username=None, password=None):
|
||||||
|
# TODO you are here
|
||||||
# Check the username/password and return a User. Username can be an email
|
# Check the username/password and return a User. Username can be an email
|
||||||
is_using_email = self._is_using_email(username)
|
is_using_email = self._is_using_email(username)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user