summaryrefslogtreecommitdiffstats
path: root/collections
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-28 19:08:54 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-28 19:08:54 +0200
commit53018baeb2dd04d053dbb2c4fd872a9f28505f95 (patch)
treef4e1b5a4ff06494b925cdc4987cd6a592120ab0d /collections
parentdc3cbdd20e59c2cc92a4acfeb1230ce71ac4a7c1 (diff)
downloadwekan-53018baeb2dd04d053dbb2c4fd872a9f28505f95.tar.gz
wekan-53018baeb2dd04d053dbb2c4fd872a9f28505f95.tar.bz2
wekan-53018baeb2dd04d053dbb2c4fd872a9f28505f95.zip
Increase the avatar max size and show an error if it is too big
Fixes #190
Diffstat (limited to 'collections')
-rw-r--r--collections/avatars.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/avatars.js b/collections/avatars.js
index 5ca074ee..87af7120 100644
--- a/collections/avatars.js
+++ b/collections/avatars.js
@@ -3,7 +3,7 @@ Avatars = new FS.Collection('avatars', {
new FS.Store.GridFS('avatars')
],
filter: {
- maxSize: 32000,
+ maxSize: 72000,
allow: {
contentTypes: ['image/*']
}