discourse/app/jobs/scheduled/clean_up_associated_accounts.rb
David Taylor 9db829134c
FIX: Use database to persist metadata during social registration (#6750)
Previously was using the cookie_store, which is limited to 4kb. This caused issues for providers sending large volumes of metadata about a user.
2018-12-10 15:10:06 +00:00

13 lines
161 B
Ruby

module Jobs
class CleanUpAssociatedAccounts < Jobs::Scheduled
every 1.day
def execute(args)
UserAssociatedAccount.cleanup!
end
end
end