git.samba.org
/
jelmer
/
calypso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad345e
)
Drop version from basic auth realm
author
Guido Günther
<agx@sigxcpu.org>
Wed, 27 Jan 2016 06:38:45 +0000
(07:38 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Wed, 27 Jan 2016 17:26:37 +0000
(18:26 +0100)
otherwise we get a password prompt on each version upgrade in
e.g. iceowl.
calypso/__init__.py
patch
|
blob
|
history
diff --git
a/calypso/__init__.py
b/calypso/__init__.py
index f99588a88e88ce256908df443d401bd554450298..19b52ee6e2f0c75900719c63bae120ec819d25d5 100644
(file)
--- a/
calypso/__init__.py
+++ b/
calypso/__init__.py
@@
-88,7
+88,7
@@
def _check(request, function):
request.send_calypso_response(client.UNAUTHORIZED, 0)
request.send_header(
"WWW-Authenticate",
-
"Basic realm=\"Calypso %s - password required\"" % VERSION
)
+
'Basic realm="Calypso CalDAV/CardDAV server - password required"'
)
request.end_headers()
# pylint: enable=W0212