mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Fix tootctl accounts create --reattach --force
not working with confirmed accounts (#24680)
This commit is contained in:
parent
49fad26eca
commit
1d9969fadf
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ module Mastodon
|
|||
say('Use --force to reattach it anyway and delete the other user')
|
||||
return
|
||||
elsif account.user.present?
|
||||
DeleteAccountService.new.call(account, reserve_email: false)
|
||||
DeleteAccountService.new.call(account, reserve_email: false, reserve_username: false)
|
||||
account = Account.new(username: username)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue