##// END OF EJS Templates
login: Fix login redirection when came_from not set.
johbo -
r58:1389be9f default
parent child Browse files
Show More
@@ -93,7 +93,7 b' def get_came_from(request):'
93 (parsed.path, parsed))
93 (parsed.path, parsed))
94 came_from = url('home')
94 came_from = url('home')
95
95
96 return came_from
96 return came_from or url('home')
97
97
98
98
99 class LoginView(object):
99 class LoginView(object):
General Comments 0
You need to be logged in to leave comments. Login now