[Calypso] [PATCH] Drop version from basic auth realm

Guido G√ľnther agx at sigxcpu.org
Tue Jan 26 22:50:33 PST 2016


otherwise we get a password prompt on each version upgrade in
e.g. iceowl.
---
Spotted by updating an instance to git master.

 calypso/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calypso/__init__.py b/calypso/__init__.py
index f99588a..19b52ee 100644
--- 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
 
-- 
2.7.0.rc3


More information about the Calypso mailing list