1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-12 20:30:57 +00:00

Add authentication structure, with fake and htpasswd methods.

This commit is contained in:
Guillaume Ayoub 2010-01-21 18:52:53 +01:00
parent 06843adca1
commit 1998dc3b08
6 changed files with 105 additions and 31 deletions

View file

@ -27,6 +27,7 @@ configuration.
from radicale import config
_acl = __import__(config.get("acl", "type"), locals(), globals())
users = _acl.users
def load():
module = __import__("radicale.acl", globals(), locals(),
[config.get("acl", "type")])
return getattr(module, config.get("acl", "type"))