fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4e712f
)
Getting the service off the POST form, like we should have been.
author
deyk
<deyk@crossway.org>
Fri, 3 Feb 2012 18:24:38 +0000
(10:24 -0800)
committer
deyk
<deyk@crossway.org>
Fri, 3 Feb 2012 18:24:38 +0000
(10:24 -0800)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
ff7dcd7
..
108bc38
100644
(file)
--- a/
cas_provider/views.py
+++ b/
cas_provider/views.py
@@
-47,6
+47,7
@@
def login(request, template_name='cas/login.html', success_redirect='/account/',
form = LoginForm(request.POST, request=request)
if form.is_valid():
+ service = form.cleaned_data.get('service', None)
try:
auth_args = dict(username=form.cleaned_data['email'],
password=form.cleaned_data['password'])