2
0
Fork 0
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:
Neil Lalonde 2013-06-25 15:05:16 -04:00
parent 9a19c0d9c4
commit a86b35c873
30 changed files with 40 additions and 295 deletions

View file

@ -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)