summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-01-02 14:54:51 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2015-01-02 14:54:51 +0100
commit05dd6309baa3c0dbc4346c33136a30c5c1cf6922 (patch)
tree664d1e439c424788ad4112084b61c58647225888 /app
parentac1584249c262e447a6360734597fa17fe077718 (diff)
downloadgitlab-ce-05dd6309baa3c0dbc4346c33136a30c5c1cf6922.tar.gz
Raise group avatar filesize limit to 200kb, fixes #8527
Diffstat (limited to 'app')
-rw-r--r--app/models/group.rb2
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