login: Log redirection target on debug level
We have some magic when computing the URL, it is good if we can see in the debug log this detail.
This commit is contained in:
parent
11e283bac8
commit
c19b05b352
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ class LoginView(object):
|
|||
self.session,
|
||||
username=form_result['username'],
|
||||
remember=form_result['remember'])
|
||||
log.debug('Redirecting to "%s" after login.', came_from)
|
||||
raise HTTPFound(came_from, headers=headers)
|
||||
except formencode.Invalid as errors:
|
||||
defaults = errors.value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue