Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #2080 from gittip/fix-elsewhere-refactor-bugs-2
Browse files Browse the repository at this point in the history
fix elsewhere refactor bugs (2)
  • Loading branch information
seanlinsley committed Feb 27, 2014
2 parents ff6052d + 574c63d commit 67b8587
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/on/%platform/associate.spt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import json

from aspen import log, resources, Response

from gittip import canonical_scheme, canonical_host
from gittip.models.participant import NeedConfirmation

[-----------------------------]
Expand All @@ -23,7 +24,8 @@ except KeyError:
raise Response(400, 'Missing cookie')

# Finish the auth process, the returned session is ready to use
sess = platform.handle_auth_callback(request.line.uri.raw, query_id, query_data)
url = canonical_scheme+'://'+canonical_host+request.line.uri.raw
sess = platform.handle_auth_callback(url, query_id, query_data)

# Get the user's info from the platform's API and upsert it in the DB
account = platform.upsert(platform.get_user_self_info(sess))
Expand Down

0 comments on commit 67b8587

Please sign in to comment.