Skip to content
Snippets Groups Projects
Unverified Commit 528b8e7e authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix crash in `tootctl accounts create --reattach --force` (#24557)

parent 58a1b2e3
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,7 @@ module Mastodon
return
elsif account.user.present?
DeleteAccountService.new.call(account, reserve_email: 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