projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c0cb6
)
Fix 'next' handling.
author
Antony Chazapis
<chazapis@gmail.com>
Mon, 8 Aug 2011 08:11:58 +0000
(11:11 +0300)
committer
Antony Chazapis
<chazapis@gmail.com>
Mon, 8 Aug 2011 08:11:58 +0000
(11:11 +0300)
pithos/aai/functions.py
patch
|
blob
|
history
diff --git
a/pithos/aai/functions.py
b/pithos/aai/functions.py
index
52b0c33
..
72d4383
100644
(file)
--- a/
pithos/aai/functions.py
+++ b/
pithos/aai/functions.py
@@
-74,8
+74,8
@@
def login(request):
# TODO: Avoid redirect loops.
if '?' in next:
next = next[:next.find('?')]
- next += '?user=' + urlencode(user.uniq)
- next += '&' + urlencode(user.auth_token)
+ next += '?' + urlencode({'user': user.uniq,
+ 'token': user.auth_token})
response = HttpResponse()
if not next: