mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
Repair authentication
This commit is contained in:
parent
88d558f9fa
commit
2a9f37defb
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ class Application:
|
|||
self.logger.info("%s refused" % (user or "Anonymous user"))
|
||||
status = client.UNAUTHORIZED
|
||||
realm = self.configuration.get("server", "realm")
|
||||
headers = headers.copy()
|
||||
headers = dict(headers)
|
||||
headers.update ({
|
||||
"WWW-Authenticate":
|
||||
"Basic realm=\"%s\"" % realm})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue