]> git.ipfire.org Git - pbs.git/commitdiff
builds: Require SPNEGO
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Oct 2023 09:34:20 +0000 (09:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Oct 2023 09:34:20 +0000 (09:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/builds.py

index c613fb5aa27624e7dd61abfa14201bf3f27c0cc6..0cd35bd827eaf306125309ae322f437d8de4d422 100644 (file)
@@ -12,7 +12,7 @@ class APIv1IndexHandler(base.APIMixin, base.BaseHandler):
        # Allow users to create builds
        allow_users = True
 
-       @tornado.web.authenticated
+       @base.negotiate
        async def post(self):
                # Fetch the upload
                upload = self.get_argument_upload("upload_id")