1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #847: Removed unneeded access to public key in SshAuth class

This commit is contained in:
Ruben S. Montero 2011-10-24 18:20:45 +02:00
parent 37b180df84
commit 5486def3a9

View File

@ -26,8 +26,6 @@ require 'fileutils'
class SshAuth
LOGIN_PATH = ENV['HOME']+'/.one/one_ssh'
attr_reader :public_key
# Initialize SshAuth object
#
# @param [Hash] default options for path
@ -92,7 +90,7 @@ class SshAuth
end
# Returns a valid password string to create a user using this auth driver.
# In this case the dn of the user certificate.
# In this case the ssh public key.
def password
@public_key
end