auth: made the message about not-active user consisten with token plugin
This commit is contained in:
parent
ab6750c9a7
commit
08000af552
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue