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

bug #3300: Fix oneuser login for ruby 1.8.7

This commit is contained in:
Ruben S. Montero 2014-11-07 13:27:52 +01:00
parent e4c1a68405
commit 43f66174c2

View File

@ -411,8 +411,8 @@ EOT
def self.get_password
print "Password: "
system("stty", "-echo")
@@password=gets.chop
begin
@@password = STDIN.gets.chop
return @@password
ensure
system("stty", "echo")