Show More
@@ -330,14 +330,7 b' class LoginRequired(object):' | |||
|
330 | 330 | return func(*fargs, **fkwargs) |
|
331 | 331 | else: |
|
332 | 332 | log.warn('user %s NOT authenticated', user.username) |
|
333 | ||
|
334 | p = '' | |
|
335 | if request.environ.get('SCRIPT_NAME') != '/': | |
|
336 | p += request.environ.get('SCRIPT_NAME') | |
|
337 | ||
|
338 | p += request.environ.get('PATH_INFO') | |
|
339 | if request.environ.get('QUERY_STRING'): | |
|
340 | p += '?' + request.environ.get('QUERY_STRING') | |
|
333 | p = url.current() | |
|
341 | 334 | |
|
342 | 335 | log.debug('redirecting to login page with %s', p) |
|
343 | 336 | return redirect(url('login_home', came_from=p)) |
General Comments 0
You need to be logged in to leave comments.
Login now