aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortelyn <telyn@bytemark.co.uk>2017-01-06 11:17:50 +0000
committertelyn <telyn@bytemark.co.uk>2017-01-06 11:17:50 +0000
commit9101dcd98398dcf1c92138d8ae037c5bbe7ba990 (patch)
tree8294e58550b0accd7f90b717191452b22a98675e
parent0b0aa77834a921566d3b99586b94013b470b5da6 (diff)
Mauve::Authentication - fix my previous commit
-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