mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 03:56:06 +01:00
Sanitize anon names
This commit is contained in:
parent
4b2c84d0f8
commit
3bb48270a2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue