From 13a65b463cd0acedd3bc36c9437d5ee8b2e26b60 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 7 Jul 2014 23:13:35 +0000 Subject: Checkpoint of SQL-based publish and withdraw processing. Doesn't handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887 --- rpki/gui/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpki/gui/decorators.py') diff --git a/rpki/gui/decorators.py b/rpki/gui/decorators.py index 69d20c46..ed10f3d9 100644 --- a/rpki/gui/decorators.py +++ b/rpki/gui/decorators.py @@ -20,8 +20,8 @@ from django import http def tls_required(f): """Decorator which returns a 500 error if the connection is not secured with TLS (https). - """ + def _tls_required(request, *args, **kwargs): if not request.is_secure(): return http.HttpResponseServerError( -- cgit v1.2.3