Fix password generation with increased minimum user password length [SCI-10821] (#7664)

This commit is contained in:
Alex Kriuchykhin 2024-06-26 15:41:42 +02:00 committed by GitHub
parent 2452f4c239
commit ad93fffed7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ module UsersGenerator
def generate_user_password
require 'securerandom'
SecureRandom.hex(5)
SecureRandom.alphanumeric(Devise.password_length.max)
end
def get_user_initials(full_name)