Disallow all tags in anon names

This commit is contained in:
Karina Kwiatek 2022-06-25 10:37:56 +02:00 committed by Karina Kwiatek
parent 3bb48270a2
commit da71744a0d
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ module UserHelper
private
def anonymous_name(context_user)
sanitize(context_user&.profile&.anon_display_name.presence || APP_CONFIG["anonymous_name"])
sanitize(context_user&.profile&.anon_display_name.presence || APP_CONFIG["anonymous_name"], tags: [])
end
end