diff options
Diffstat (limited to 'lib/net/ssh/authentication/methods/none.rb')
-rw-r--r-- | lib/net/ssh/authentication/methods/none.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/authentication/methods/none.rb b/lib/net/ssh/authentication/methods/none.rb index 09fdac8..d38e877 100644 --- a/lib/net/ssh/authentication/methods/none.rb +++ b/lib/net/ssh/authentication/methods/none.rb @@ -8,7 +8,7 @@ module Net # Implements the "none" SSH authentication method. class None < Abstract # Attempt to authenticate as "none" - def authenticate(next_service, user="", password="") + def authenticate(next_service, user = "", password = "") send_message(userauth_request(user, next_service, "none")) message = session.next_message |