mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Remove the access_password site setting
This commit is contained in:
parent
9a19c0d9c4
commit
a86b35c873
30 changed files with 40 additions and 295 deletions
|
@ -24,9 +24,6 @@ class SystemMessage
|
|||
|
||||
params = defaults.merge(params)
|
||||
|
||||
if SiteSetting.access_password.present?
|
||||
params[:site_password] = I18n.t('system_messages.site_password', access_password: SiteSetting.access_password)
|
||||
end
|
||||
|
||||
title = I18n.t("system_messages.#{type}.subject_template", params)
|
||||
raw_body = I18n.t("system_messages.#{type}.text_body_template", params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue