diff options
Diffstat (limited to 'src/leap/soledad/server/auth.py')
-rw-r--r-- | src/leap/soledad/server/auth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/soledad/server/auth.py b/src/leap/soledad/server/auth.py index 934517b5..4dbe9a6d 100644 --- a/src/leap/soledad/server/auth.py +++ b/src/leap/soledad/server/auth.py @@ -86,7 +86,7 @@ class LocalServicesRealm(object): conf = get_config() self.anon_resource = SoledadAnonResource( enable_blobs=conf['blobs']) - self.auth_resource = LocalResource(conf) + self.auth_resource = LocalResource() def requestAvatar(self, avatarId, mind, *interfaces): @@ -105,6 +105,7 @@ class LocalServicesRealm(object): @implementer(ICredentialsChecker) class FileTokenChecker(object): + credentialInterfaces = [IUsernamePassword, IAnonymous] def __init__(self, conf=None): conf = conf or get_config() |