Fix reference to non-existent var in CLI maintenance command (#28363)
This commit is contained in:
parent
37adb144db
commit
57b72cccc4
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ module Mastodon
|
|||
users = User.where(id: row['ids'].split(',')).sort_by(&:updated_at).reverse
|
||||
ref_user = users.shift
|
||||
@prompt.warn "Multiple users registered with e-mail address #{ref_user.email}."
|
||||
@prompt.warn "e-mail will be disabled for the following accounts: #{user.map(&:account).map(&:acct).join(', ')}"
|
||||
@prompt.warn "e-mail will be disabled for the following accounts: #{users.map(&:account).map(&:acct).join(', ')}"
|
||||
@prompt.warn 'Please reach out to them and set another address with `tootctl account modify` or delete them.'
|
||||
|
||||
i = 0
|
||||
|
|
Loading…
Reference in a new issue