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
hazelnut expects the initial columns to be passed to its constructor
[myslice.git]
/
auth
/
manifoldbackend.py
diff --git
a/auth/manifoldbackend.py
b/auth/manifoldbackend.py
index
450974e
..
96697b3
100644
(file)
--- a/
auth/manifoldbackend.py
+++ b/
auth/manifoldbackend.py
@@
-1,10
+1,8
@@
-# import the User object
-from django.contrib.auth.models import User
-from engine.manifoldapi import ManifoldAPI
+import time
+from django.contrib.auth.models import User
-# import time - this is used to create Django's internal username
-import time
+from manifold.manifoldapi import ManifoldAPI
# Name my backend 'ManifoldBackend'
class ManifoldBackend:
# Name my backend 'ManifoldBackend'
class ManifoldBackend:
@@
-27,7
+25,6
@@
class ManifoldBackend:
if not session :
return None
if not session :
return None
- request.session['manifold_session'] = session
#self.session = session
# Change GetSession() at some point to return expires as well
expires = time.time() + (24 * 60 * 60)
#self.session = session
# Change GetSession() at some point to return expires as well
expires = time.time() + (24 * 60 * 60)