Merge pull request #509 from Unrud/patch-2

Set password to empty string instead of None
This commit is contained in:
Guillaume Ayoub 2016-09-07 16:08:37 +02:00 committed by GitHub
commit e95d187cbc

View File

@ -338,7 +338,7 @@ class Application:
user = self.Auth.map_login_to_user(login)
else:
user = self.Auth.map_login_to_user(environ.get("REMOTE_USER", ""))
password = None
password = ""
# If "/.well-known" is not available, clients query "/"
if path == "/.well-known" or path.startswith("/.well-known/"):