From e72c1f45b102265af02a25f28757b3255a631b15 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 19 Apr 2015 21:35:23 +0200 Subject: [PATCH] nopaste: Increase max upload size for authenticated users to 25M --- webapp/handlers_nopaste.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3