fix missing tpl files
[auf_django_saml.git] / auf / django / saml / middleware.py
1 # -*- coding: utf-8 -*-
2
3 from django.contrib.auth.middleware import RemoteUserMiddleware
4 from auf.django.saml import settings
5
6 class SPMiddleware(RemoteUserMiddleware):
7
8 def process_request(self, request):
9 if not settings.SAML_AUTH:
10 return
11 return super(SPMiddleware, self).process_request(request)