mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-25 19:30:54 +00:00
Merge commit 'refs/merge-requests/9' of git://gitorious.org/radicale/radicale into merge-requests/9
This commit is contained in:
commit
7e1815cbeb
5 changed files with 51 additions and 15 deletions
|
@ -65,5 +65,5 @@ def has_right(owner, user, password):
|
|||
if line.strip():
|
||||
login, hash_value = line.strip().split(":")
|
||||
if login == user and (not PERSONAL or user == owner):
|
||||
return locals()["_%s" % ENCRYPTION](hash_value, password)
|
||||
return globals()["_%s" % ENCRYPTION](hash_value, password)
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue