mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Put the realm in the configuration file (fix #37)
This commit is contained in:
parent
a819e4b2c8
commit
de1e57081b
3 changed files with 5 additions and 2 deletions
|
@ -59,7 +59,7 @@ NOT_ALLOWED = (client.FORBIDDEN, {}, None)
|
|||
# non-public information w/o submitting proper authentication credentials
|
||||
WRONG_CREDENTIALS = (
|
||||
client.UNAUTHORIZED,
|
||||
{"WWW-Authenticate": "Basic realm=\"Radicale - Password Required\""},
|
||||
{"WWW-Authenticate": "Basic realm=\"%s\"" % config.get("server", "realm")},
|
||||
None)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue