mandaye: add mandaye.auth in env for mandaye-cam

This commit is contained in:
Jérôme Schneider 2014-11-04 11:11:12 +01:00
parent 04ff6f68f9
commit b4f1da4f97
1 changed files with 1 additions and 0 deletions

View File

@ -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)