Full-House-UW / fullhouse

Full House: a household management tool
fullhousemanager.com
0 stars 6 forks source link

Users should need to confirm they want to switch houses #205

Closed JSiu closed 11 years ago

JSiu commented 11 years ago

If a user is invited to a house, but they're already a member of a different house, the link in the invitation email should take them to a page that asks them to confirm that they want to leave their house and join the other. Saying either yes or no should redirect them to their dashboard page.

JSiu commented 11 years ago

Talk to @jlowdermilk as necessary to make sure we correctly remove them from their existing house if they confirm that they want to switch.

creisman commented 11 years ago

@jlowdermilk Is there a way to test the validity of an invite without accepting?

j3ffml commented 11 years ago

@creisman: there is. Look at InviteManager in models.py. Basically, you look up the inviteprofile by the sha1 in the link (the invite_key). If it exists, is not expired and the emails match, it's a valid invite.

creisman commented 11 years ago

272