DEV: Add rake task for generating avatars from SSO

This commit is contained in:
Gerhard Schlager
2023-08-09 20:56:14 +02:00
committed by Gerhard Schlager
parent df7dab9dce
commit b2fee68b3f
3 changed files with 71 additions and 0 deletions
+1
View File
@@ -117,6 +117,7 @@ class UserProfile < ActiveRecord::Base
max_file_size: SiteSetting.max_image_size_kb.kilobytes,
tmp_file_name: "sso-profile-background",
follow_redirect: true,
skip_rate_limit: true,
)
return unless tempfile