auth: made the message about not-active user consisten with token plugin

This commit is contained in:
Marcin Kuzminski 2016-07-13 12:27:04 +02:00
parent ab6750c9a7
commit 08000af552

View file

@ -137,5 +137,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase):
"authenticating on this plugin", userobj)
return None
else:
log.warning('user %s tried auth but is disabled', userobj)
log.warning(
'user `%s` failed to authenticate via %s, reason: account not '
'active.', username, self.name)
return None