mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Set password to empty string instead of None
Prevent exception in auth module.
This commit is contained in:
parent
b85fc5bed6
commit
fe5daf801a
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class Application:
|
||||||
user = self.Auth.map_login_to_user(login)
|
user = self.Auth.map_login_to_user(login)
|
||||||
else:
|
else:
|
||||||
user = self.Auth.map_login_to_user(environ.get("REMOTE_USER", ""))
|
user = self.Auth.map_login_to_user(environ.get("REMOTE_USER", ""))
|
||||||
password = None
|
password = ""
|
||||||
|
|
||||||
# If "/.well-known" is not available, clients query "/"
|
# If "/.well-known" is not available, clients query "/"
|
||||||
if path == "/.well-known" or path.startswith("/.well-known/"):
|
if path == "/.well-known" or path.startswith("/.well-known/"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue