diff options
Diffstat (limited to 'lib/leap_cli/config/object.rb')
-rw-r--r-- | lib/leap_cli/config/object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index ef5133f..e039660 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -270,7 +270,7 @@ module LeapCli # manager.export_secrets should be called later to capture any newly generated secrets. # def secret(name, length=32) - @manager.secrets[name.to_s] ||= Util::Secret.generate(length) + @manager.secrets.set(name, Util::Secret.generate(length)) end # |