[CalendarServer-changes] [14797] CalendarServer/branches/release/CalendarServer-5.4-dev/ calendarserver/provision/root.py

source_changes at macosforge.org source_changes at macosforge.org
Mon May 18 16:51:07 PDT 2015


Revision: 14797
          http://trac.calendarserver.org//changeset/14797
Author:   sagen at apple.com
Date:     2015-05-18 16:51:07 -0700 (Mon, 18 May 2015)
Log Message:
-----------
When looking up an auth toke, use the configured host and port, not just localhost:80

Modified Paths:
--------------
    CalendarServer/branches/release/CalendarServer-5.4-dev/calendarserver/provision/root.py

Modified: CalendarServer/branches/release/CalendarServer-5.4-dev/calendarserver/provision/root.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-5.4-dev/calendarserver/provision/root.py	2015-05-18 12:51:46 UTC (rev 14796)
+++ CalendarServer/branches/release/CalendarServer-5.4-dev/calendarserver/provision/root.py	2015-05-18 23:51:07 UTC (rev 14797)
@@ -242,7 +242,7 @@
                             if record is not None:
                                 guid = record.guid
                         else:
-                            guid = (yield guidForAuthToken(token))
+                            guid = (yield guidForAuthToken(token, host=wikiConfig.CollabHost, port=wikiConfig.CollabPort))
                             if guid == "unauthenticated":
                                 guid = None
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150518/10532793/attachment.html>


More information about the calendarserver-changes mailing list