logging: improve logging on failed auth user lookup
This commit is contained in:
parent
cba71c524a
commit
c0b1b33fac
1 changed files with 1 additions and 1 deletions
|
|
@ -799,7 +799,7 @@ class AuthUser(object):
|
|||
log.debug('No data in %s that could been used to log in' % self)
|
||||
|
||||
if not is_user_loaded:
|
||||
log.debug('Failed to load user. Fallback to default user')
|
||||
log.debug('Failed to load user %s. Fallback to default user', self)
|
||||
# if we cannot authenticate user try anonymous
|
||||
if anon_user.active:
|
||||
user_model.fill_data(self, user_id=anon_user.user_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue