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:
parent
86dd81fda4
commit
6397c362ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user