mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 15:31:52 +00:00
Merge 1a47d339a8
into 6d62581da1
This commit is contained in:
commit
85194e760c
|
@ -356,6 +356,16 @@ namespace :mastodon do
|
|||
|
||||
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
|
||||
if prompt.yes?('Do you want to send e-mails from localhost?', default: false)
|
||||
env['SMTP_SERVER'] = 'localhost'
|
||||
|
|
Loading…
Reference in New Issue
Block a user