diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2015-01-02 14:54:51 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2015-01-02 14:54:51 +0100 |
commit | 05dd6309baa3c0dbc4346c33136a30c5c1cf6922 (patch) | |
tree | 664d1e439c424788ad4112084b61c58647225888 /app/models/group.rb | |
parent | ac1584249c262e447a6360734597fa17fe077718 (diff) | |
download | gitlab-ce-05dd6309baa3c0dbc4346c33136a30c5c1cf6922.tar.gz |
Raise group avatar filesize limit to 200kb, fixes #8527
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index b8ed3b8ac73..733afa2fc07 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -21,7 +21,7 @@ class Group < Namespace has_many :users, through: :group_members validate :avatar_type, if: ->(user) { user.avatar_changed? } - validates :avatar, file_size: { maximum: 100.kilobytes.to_i } + validates :avatar, file_size: { maximum: 200.kilobytes.to_i } mount_uploader :avatar, AttachmentUploader |