diff --git a/app/controllers/avatar_controller.rb b/app/controllers/avatar_controller.rb index 17ce74d0c..409fdc43f 100644 --- a/app/controllers/avatar_controller.rb +++ b/app/controllers/avatar_controller.rb @@ -93,7 +93,9 @@ class AvatarController < ApplicationController end end - if @source_type == 'Contest' + if @source_type == 'UserAuthentication' + + elsif @source_type == 'Contest' Trustie::Utils::Image.new(diskfile,true).compress(900) else Trustie::Utils::Image.new(diskfile,true).compress(300)