Commit 2547ed24 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

fountain.middleware: Add middleware for persistent remote users

parent 5780f6dc
Pipeline #4694 passed with stage
in 38 seconds
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib.auth.middleware import RemoteUserMiddleware as _RemoteUserMiddleware
class PersistentRemoteUserMiddleware(_RemoteUserMiddleware):
This middleware can be used instead of Django's RemoteUserMiddleware when
a callback URL is used for authenticating remote users.
force_logout_if_no_header = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment