diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/soledad/server/_resource.py | 4 | ||||
-rw-r--r-- | src/leap/soledad/server/auth.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/soledad/server/_resource.py b/src/leap/soledad/server/_resource.py index 7b326fef..e3693c80 100644 --- a/src/leap/soledad/server/_resource.py +++ b/src/leap/soledad/server/_resource.py @@ -24,7 +24,7 @@ from ._incoming import IncomingResource from ._wsgi import get_sync_resource -__all__ = ['PublicResource', 'SoledadAnonResource'] +__all__ = ['PublicResource', 'AnonymousResource'] class _Robots(Resource): @@ -35,7 +35,7 @@ class _Robots(Resource): '# you are not a robot, are you???') -class SoledadAnonResource(Resource): +class AnonymousResource(Resource): """ The parts of Soledad Server that unauthenticated users can see. 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() |