From da71744a0d161393458cf0cfd142c126bd5a8133 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 25 Jun 2022 10:37:56 +0200 Subject: [PATCH] Disallow all tags in anon names --- app/helpers/user_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/user_helper.rb b/app/helpers/user_helper.rb index ccc620e9..38da2388 100644 --- a/app/helpers/user_helper.rb +++ b/app/helpers/user_helper.rb @@ -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