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

Bug #998: Duplicate the password argument object in oneuser, to avoid frozen string error

This commit is contained in:
Carlos Martín 2011-11-22 03:33:01 -08:00
parent 86dd81fda4
commit 6397c362ac

View File

@ -37,7 +37,7 @@ class OneUserHelper < OpenNebulaHelper::OneHelper
return -1, "Can not read file: #{arg}"
end
else
password = arg
password = arg.dup
end
if options[:driver] == OpenNebula::User::X509_AUTH