mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
DEV: Add rake task for generating avatars from SSO
This commit is contained in:
committed by
Gerhard Schlager
parent
df7dab9dce
commit
b2fee68b3f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user