summaryrefslogtreecommitdiff
path: root/lib/net/ssh/authentication/session.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/ssh/authentication/session.rb')
-rw-r--r--lib/net/ssh/authentication/session.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/ssh/authentication/session.rb b/lib/net/ssh/authentication/session.rb
index 4451cde..e4fc648 100644
--- a/lib/net/ssh/authentication/session.rb
+++ b/lib/net/ssh/authentication/session.rb
@@ -41,7 +41,7 @@ module Net
# Instantiates a new Authentication::Session object over the given
# transport layer abstraction.
- def initialize(transport, options={})
+ def initialize(transport, options = {})
self.logger = transport.logger
@transport = transport
@@ -54,7 +54,7 @@ module Net
# Attempts to authenticate the given user, in preparation for the next
# service request. Returns true if an authentication method succeeds in
# authenticating the user, and false otherwise.
- def authenticate(next_service, username, password=nil)
+ def authenticate(next_service, username, password = nil)
debug { "beginning authentication of `#{username}'" }
transport.send_message(transport.service_request("ssh-userauth"))