aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mauve/authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/authentication.rb b/lib/mauve/authentication.rb
index d03178a..08e0bf0 100644
--- a/lib/mauve/authentication.rb
+++ b/lib/mauve/authentication.rb
@@ -65,7 +65,7 @@ module Mauve
result
end
- unless true == result
+ unless auth_success
logger.info "Authentication for #{login} failed"
# Rate limit
sleep Configuration.current.failed_login_delay