Skip to content
Snippets Groups Projects
Unverified Commit 1d9969fa authored by Daniel M Brasil's avatar Daniel M Brasil Committed by GitHub
Browse files

Fix `tootctl accounts create --reattach --force` not working with confirmed accounts (#24680)

parent 49fad26e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment