summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-12-14 09:02:33 -0500
committerGitHub <noreply@github.com>2023-12-14 14:02:33 +0000
commit1c3b5f4a7812a1c7ffaded56684882b02ca26b60 (patch)
tree384d3b606acca5caa042b7857efe0718a1881bcf
parentef9797a395de7cc9e44f5f29ca3a2f70aff04b48 (diff)
Fix reference to non-existent var in CLI maintenance command (#28363)
-rw-r--r--lib/mastodon/cli/maintenance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/cli/maintenance.rb b/lib/mastodon/cli/maintenance.rb
index 43fd7fab33e..2e5243468bb 100644
--- a/lib/mastodon/cli/maintenance.rb
+++ b/lib/mastodon/cli/maintenance.rb
@@ -254,7 +254,7 @@ module Mastodon::CLI
users = User.where(id: row['ids'].split(',')).sort_by(&:updated_at).reverse
ref_user = users.shift
say "Multiple users registered with e-mail address #{ref_user.email}.", :yellow
- say "e-mail will be disabled for the following accounts: #{user.map { |user| user.account.acct }.join(', ')}", :yellow
+ say "e-mail will be disabled for the following accounts: #{users.map { |user| user.account.acct }.join(', ')}", :yellow
say 'Please reach out to them and set another address with `tootctl account modify` or delete them.', :yellow
users.each_with_index do |user, index|