cartodb/lib/dummy_password_generator.rb

6 lines
122 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
module DummyPasswordGenerator
def generate_dummy_password
(0...15).map { ('a'..'z').to_a[rand(26)] }.join
end
end