Revision f1bacd3c
b/snf-pithos-app/pithos/api/login.py | ||
---|---|---|
55 | 55 |
proto = 'https://' |
56 | 56 |
else: |
57 | 57 |
proto = 'http://' |
58 |
next = request.GET.get('next', '') |
|
59 |
params = {'next': next} |
|
60 |
renew = 'renew' in request.GET |
|
61 |
if renew: |
|
62 |
params['renew'] = True |
|
58 |
params = dict([(k, v) for k, v in request.GET.items()]) |
|
63 | 59 |
uri = proto + p.netloc + '/login?' + urlencode(params) |
64 | 60 |
return HttpResponseRedirect(uri) |
Also available in: Unified diff