From: Michael Tremer Date: Sun, 19 Apr 2015 19:35:23 +0000 (+0200) Subject: nopaste: Increase max upload size for authenticated users to 25M X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e72c1f45b102265af02a25f28757b3255a631b15;p=ipfire.org.git nopaste: Increase max upload size for authenticated users to 25M --- diff --git a/webapp/handlers_nopaste.py b/webapp/handlers_nopaste.py index 0a8715a5..4b38a40a 100644 --- a/webapp/handlers_nopaste.py +++ b/webapp/handlers_nopaste.py @@ -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)