]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/web/donate.py
donation: Check blacklist before allowing to access page
[ipfire.org.git] / src / web / donate.py
index 98c426a683f1b173f2bd3d3501f83d782e656b7d..0da907097142e9a221e434ad23f990d3766699fd 100644 (file)
@@ -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()