Skip to content

Commit 6c5d748

Browse files
committed
Generate random nicknames for ephemeral users
1 parent 18b810a commit 6c5d748

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

decidim-core/app/forms/decidim/ephemeral_user_form.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def name
1616
end
1717

1818
def nickname
19-
super || User.nicknamize(name, organization.id)
19+
super || User.nicknamize("#{name}_#{SecureRandom.alphanumeric(8)}", organization.id)
2020
end
2121
end
2222
end

0 commit comments

Comments
 (0)