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

Commit

Permalink
Fix regression with logging in; #421
Browse files Browse the repository at this point in the history
We weren't modifying account appropriately when modifying user.
Presumably this is the sort of thing SQLAlchemy is designed to protect
against.
  • Loading branch information
chadwhitacre committed Dec 17, 2012
1 parent 8ddaef4 commit 4202d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gittip/elsewhere/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def opt_in(self, desired_participant_id):
user.set_as_claimed()
try:
user.change_id(desired_participant_id)
user.id = self.id = desired_participant_id
user.id = self.participant_id = desired_participant_id
except (Response, IntegrityError):
pass
return user
Expand Down

0 comments on commit 4202d90

Please sign in to comment.