Sanitize anon names
This commit is contained in:
parent
4b2c84d0f8
commit
3bb48270a2
|
@ -18,6 +18,6 @@ module UserHelper
|
|||
private
|
||||
|
||||
def anonymous_name(context_user)
|
||||
context_user&.profile&.anon_display_name.presence || APP_CONFIG["anonymous_name"]
|
||||
sanitize(context_user&.profile&.anon_display_name.presence || APP_CONFIG["anonymous_name"])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue