mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug #847: Removed unneeded access to public key in SshAuth class
This commit is contained in:
1 parent
37b180df84
commit
5486def3a9
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user