summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/auth.py
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-05 11:08:32 -0300
committerdrebs <drebs@riseup.net>2017-09-05 11:08:48 -0300
commit7f11438288b9db7553d4f17f8e5b0a7ebde887c7 (patch)
treec01c2b7550cc4abd912fd2172b1d64252b3f41cd /src/leap/soledad/server/auth.py
parent115bfd7ca890e5d1a9bdd9df88efc376211cec10 (diff)
[refactor] follow new resource class style naming
Diffstat (limited to 'src/leap/soledad/server/auth.py')
-rw-r--r--src/leap/soledad/server/auth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/soledad/server/auth.py b/src/leap/soledad/server/auth.py
index 65e1adaf..da13dc8c 100644
--- a/src/leap/soledad/server/auth.py
+++ b/src/leap/soledad/server/auth.py
@@ -39,7 +39,7 @@ from twisted.web.resource import IResource
from leap.soledad.common.couch import couch_server
-from ._resource import PublicResource, SoledadAnonResource
+from ._resource import PublicResource, AnonymousResource
from ._resource import LocalResource
from ._blobs import BlobsResource
from ._config import get_config
@@ -58,7 +58,7 @@ class SoledadRealm(object):
blobs = conf['blobs']
blobs_resource = BlobsResource("filesystem",
conf['blobs_path']) if blobs else None
- self.anon_resource = SoledadAnonResource(
+ self.anon_resource = AnonymousResource(
enable_blobs=blobs)
self.auth_resource = PublicResource(
blobs_resource=blobs_resource,
@@ -84,7 +84,7 @@ class LocalServicesRealm(object):
def __init__(self):
conf = get_config()
- self.anon_resource = SoledadAnonResource(
+ self.anon_resource = AnonymousResource(
enable_blobs=conf['blobs'])
self.auth_resource = LocalResource()