mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-11 12:11:12 +00:00
Merge 1a47d339a8
into fbe9728f36
This commit is contained in:
commit
2c840f00d9
|
@ -356,6 +356,16 @@ namespace :mastodon do
|
||||||
|
|
||||||
prompt.say "\n"
|
prompt.say "\n"
|
||||||
|
|
||||||
|
ip_retention_period_days = prompt.ask('How long should we store IP addresses in the database, for moderation purposes? (in days)') do |q|
|
||||||
|
q.required true
|
||||||
|
q.default 365
|
||||||
|
q.convert :int
|
||||||
|
end
|
||||||
|
|
||||||
|
env['IP_RETENTION_PERIOD'] = ip_retention_period_days.days.to_i
|
||||||
|
|
||||||
|
prompt.say "\n"
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
if prompt.yes?('Do you want to send e-mails from localhost?', default: false)
|
if prompt.yes?('Do you want to send e-mails from localhost?', default: false)
|
||||||
env['SMTP_SERVER'] = 'localhost'
|
env['SMTP_SERVER'] = 'localhost'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user