Fix username generation method

pull/16372/head
Moisés Calzado 3 years ago
parent 8b7f6500f5
commit d25e519129

@ -108,7 +108,7 @@ module CartoDB
email.strip.split('@')[0].gsub(/[^A-Za-z0-9-]/, '-').downcase email.strip.split('@')[0].gsub(/[^A-Za-z0-9-]/, '-').downcase
end end
def random_saml_username def self.random_saml_username
SecureRandom.hex SecureRandom.hex
end end

Loading…
Cancel
Save