0
0
Fork 0

Fix account migration form ever using outdated account data (#18429)

This commit is contained in:
Eugen Rochko 2022-10-29 01:31:45 +02:00 committed by GitHub
parent 317ec06dc7
commit dc5c86add7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@ class Form::Redirect
private
def set_target_account
@target_account = ResolveAccountService.new.call(acct)
@target_account = ResolveAccountService.new.call(acct, skip_cache: true)
rescue Webfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::Error
# Validation will take care of it
end