mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Add username template variables to Welcome User email template (#20352)
* Add username and name_or_username variables to SystemMessage defaults * Allow username and name variables on welcome_user email template overrides * Satisfy linting * Add test
This commit is contained in:

committed by
GitHub

parent
9519747a01
commit
6fa9a8990d
@ -35,6 +35,7 @@ class TranslationOverride < ActiveRecord::Base
|
||||
optional_cat
|
||||
optional_tags
|
||||
],
|
||||
%w[system_messages.welcome_user] => %w[username name name_or_username],
|
||||
}
|
||||
|
||||
include HasSanitizableFields
|
||||
|
Reference in New Issue
Block a user