summaryrefslogtreecommitdiff
path: root/lib/net/ssh/authentication/methods/password.rb
diff options
context:
space:
mode:
authorFlorian Wininger <fw.centrale@gmail.com>2021-10-25 15:25:57 +0200
committerFlorian Wininger <fw.centrale@gmail.com>2021-10-25 15:55:44 +0200
commitf79ed49dc068317fb280bd2fb554ecb0ce13a7e1 (patch)
tree32fbf2392f8225905d6cf77412f0f01dbbf82097 /lib/net/ssh/authentication/methods/password.rb
parentcf1b4da0d56e6b0598f9d5fbc3c335011f42bc26 (diff)
downloadnet-ssh-f79ed49dc068317fb280bd2fb554ecb0ce13a7e1.tar.gz
Fix rubocop coding style.
Lot of spacing issues :)
Diffstat (limited to 'lib/net/ssh/authentication/methods/password.rb')
-rw-r--r--lib/net/ssh/authentication/methods/password.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/authentication/methods/password.rb b/lib/net/ssh/authentication/methods/password.rb
index 9cb1828..ffb881c 100644
--- a/lib/net/ssh/authentication/methods/password.rb
+++ b/lib/net/ssh/authentication/methods/password.rb
@@ -10,7 +10,7 @@ module Net
class Password < Abstract
# Attempt to authenticate the given user for the given service. If
# the password parameter is nil, this will ask for password
- def authenticate(next_service, username, password=nil)
+ def authenticate(next_service, username, password = nil)
clear_prompter!
retries = 0
max_retries = get_max_retries