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
Merge branch 'master' of ssh://git.onelab.eu/git/myslice-django
[myslice.git]
/
auth
/
views.py
diff --git
a/auth/views.py
b/auth/views.py
index
d1e78b5
..
f6afa3f
100644
(file)
--- a/
auth/views.py
+++ b/
auth/views.py
@@
-8,12
+8,15
@@
from django.http import HttpResponseRedirect
from auth.backend import MyCustomBackend
from myslice.viewutils import the_user
from auth.backend import MyCustomBackend
from myslice.viewutils import the_user
+from myslice.config import Config
def login_user(request):
state = "Please log in below..."
username = password = ''
def login_user(request):
state = "Please log in below..."
username = password = ''
- env={'hard_wired_users':MyCustomBackend.hard_wired_users}
-
+ env={'hard_wired_users':MyCustomBackend.hard_wired_users,
+ 'manifold_url':Config.manifold_url(),
+ }
+
if request.POST:
username = request.POST.get('username')
password = request.POST.get('password')
if request.POST:
username = request.POST.get('username')
password = request.POST.get('password')