##// END OF EJS Templates
fixed redirection link in notAnonymous decorator
marcink -
r1335:40c8d181 beta
parent child Browse files
Show More
@@ -371,13 +371,7 b' class NotAnonymous(object):'
371 anonymous = self.user.username == 'default'
371 anonymous = self.user.username == 'default'
372
372
373 if anonymous:
373 if anonymous:
374 p = ''
374 p = url.current()
375 if request.environ.get('SCRIPT_NAME') != '/':
376 p += request.environ.get('SCRIPT_NAME')
377
378 p += request.environ.get('PATH_INFO')
379 if request.environ.get('QUERY_STRING'):
380 p += '?' + request.environ.get('QUERY_STRING')
381
375
382 import rhodecode.lib.helpers as h
376 import rhodecode.lib.helpers as h
383 h.flash(_('You need to be a registered user to '
377 h.flash(_('You need to be a registered user to '
General Comments 0
You need to be logged in to leave comments. Login now