diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-10-05 17:18:35 -0300 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-10-05 17:18:35 -0300 |
commit | 7c42ffabe06f11bca3a0458ab34ee9d8ec3cc74b (patch) | |
tree | 8d1b1f9d9608c9a958b26a681bbdcbdd36c04314 /service/pixelated/resources | |
parent | 8fa81ff3b2cf0422098395ec9918d5b547fbbca5 (diff) |
Revert "remove pixelated realm's init parameters"
This reverts commit 8fa81ff3b2cf0422098395ec9918d5b547fbbca5.
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/auth.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/pixelated/resources/auth.py b/service/pixelated/resources/auth.py index a9297b30..66aac4e5 100644 --- a/service/pixelated/resources/auth.py +++ b/service/pixelated/resources/auth.py @@ -88,6 +88,10 @@ class SessionChecker(object): class PixelatedRealm(object): implements(portal.IRealm) + def __init__(self, root_resource, anonymous_resource): + self._root_resource = root_resource + self._anonymous_resource = anonymous_resource + def requestAvatar(self, avatarId, mind, *interfaces): if IResource in interfaces: return IResource, avatarId, lambda: None |