From b4f1da4f970dcedb9bd8fdd3486894de85227e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Tue, 4 Nov 2014 11:11:12 +0100 Subject: [PATCH] mandaye: add mandaye.auth in env for mandaye-cam --- mandaye/dispatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mandaye/dispatcher.py b/mandaye/dispatcher.py index 7208ef2..5c7e091 100644 --- a/mandaye/dispatcher.py +++ b/mandaye/dispatcher.py @@ -50,6 +50,7 @@ class Dispatcher(object): module = import_module(module) Auth = getattr(module, attr) self.auth = Auth(env, self.mapper) + self.env['mandaye.auth'] = self.auth mapping = [] mapping.extend(self.auth.get_default_mapping()) mapping.extend(default.mapping)