From: Michael Tremer Date: Sun, 18 Nov 2018 11:30:40 +0000 (+0000) Subject: donation: Check blacklist before allowing to access page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52d4e79b5160aef8d487905c27c74ccd6f2e0fa6;p=ipfire.org.git donation: Check blacklist before allowing to access page Signed-off-by: Michael Tremer --- diff --git a/src/web/donate.py b/src/web/donate.py index 98c426a6..0da90709 100644 --- a/src/web/donate.py +++ b/src/web/donate.py @@ -7,6 +7,11 @@ import tornado.web from . import base class DonateHandler(base.BaseHandler): + @base.blacklisted + def prepare(self): + # Makes sure that we call blacklist for everything + pass + def get(self): location = self.get_remote_location()