Drop version from basic auth realm
authorGuido Günther <agx@sigxcpu.org>
Wed, 27 Jan 2016 06:38:45 +0000 (07:38 +0100)
committerGuido 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

index f99588a88e88ce256908df443d401bd554450298..19b52ee6e2f0c75900719c63bae120ec819d25d5 100644 (file)
@@ -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