diff options
Diffstat (limited to 'lib/net/ssh/authentication/methods/password.rb')
-rw-r--r-- | lib/net/ssh/authentication/methods/password.rb | 2 |
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 |