Revision 9a4600b7

b/snf-astakos-app/astakos/im/api/__init__.py
114 114
    user = request.user
115 115
    from_location = request.GET.get('location')
116 116
    index_url = reverse('index')
117
    if from_location:
118
        index_url = "%s?next=%s" % (index_url, from_location)
119 117

  
120 118
    l = [{'url': absolute(request, index_url), 'name': _("Sign in")}]
121 119
    if user.is_authenticated():

Also available in: Unified diff