git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filenames without _ (spare my pinkie)
[myslice.git]
/
auth
/
manifoldbackend.py
diff --git
a/auth/manifold_backend.py
b/auth/manifoldbackend.py
similarity index 96%
rename from
auth/manifold_backend.py
rename to
auth/manifoldbackend.py
index
67ab89f
..
f548b43
100644
(file)
--- a/
auth/manifold_backend.py
+++ b/
auth/manifoldbackend.py
@@
-1,6
+1,6
@@
# import the User object
from django.contrib.auth.models import User
# import the User object
from django.contrib.auth.models import User
-from engine.manifold
_
api import ManifoldAPI
+from engine.manifoldapi import ManifoldAPI
# import time - this is used to create Django's internal username
# import time - this is used to create Django's internal username
@@
-14,7
+14,6
@@
class ManifoldBackend:
def authenticate(self, username=None, password=None):
if not username or not password:
return None
def authenticate(self, username=None, password=None):
if not username or not password:
return None
- print username
try:
auth = {'AuthMethod': 'password', 'Username': username, 'AuthString': password}
try:
auth = {'AuthMethod': 'password', 'Username': username, 'AuthString': password}