diff --git a/app/controllers/instance_controller.rb b/app/controllers/instance_controller.rb index 878e0da..6b9013a 100644 --- a/app/controllers/instance_controller.rb +++ b/app/controllers/instance_controller.rb @@ -3,7 +3,7 @@ class InstanceController < ApplicationController zone = create_instance_params public_id = Nanoid.generate(size: 6) name = Spicy::Proton.pair(" ") - password = Nanoid.generate(size: 3, alphabet: "0123456789") + password = Nanoid.generate(size: 4, alphabet: "0123456789") instance = Instance.new(zone: zone, public_id: public_id, name: name, password: password) if instance.save @id = instance.public_id