Doc WebDAV: allow auth of False db, even with user set
This is another workaround for nautilus, that descends into the db (=does authorization) and then requests info for the parent again (causing db=False later). bzr revid: p_christ@hol.gr-20100624150122-tntum07kgth2ogup
This commit is contained in:
parent
665103115d
commit
4b30a47879
|
@ -183,7 +183,7 @@ class DAVAuthProvider(OpenERPAuthProvider):
|
|||
""" authenticate, but also allow the False db, meaning to skip
|
||||
authentication when no db is specified.
|
||||
"""
|
||||
if db is False and user is None and passwd is None:
|
||||
if db is False:
|
||||
return True
|
||||
return OpenERPAuthProvider.authenticate(self, db, user, passwd, client_address)
|
||||
|
||||
|
|
Loading…
Reference in New Issue