]> git.ipfire.org Git - ipfire.org.git/commitdiff
nopaste: Increase max upload size for authenticated users to 25M
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 19 Apr 2015 19:35:23 +0000 (21:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 19 Apr 2015 19:35:23 +0000 (21:35 +0200)
webapp/handlers_nopaste.py

index 0a8715a54f14af75945cd5d44dba08500500e1cd..4b38a40a16b0a10b3db90337ab70787b5c811048 100644 (file)
@@ -57,7 +57,7 @@ class NopasteCreateHandler(BaseHandler):
        def _max_size(self):
                # Authenticated users are allowed to upload up to 10MB
                if self.current_user:
-                       return 10 * (1024 ** 2)
+                       return 25 * (1024 ** 2)
 
                # The rest is only allowed to upload up to 2MB
                return 2 * (1024 ** 2)