Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users end up joining independently when they verify their email address even if they accepted an invite #10

Open
klaith opened this issue Oct 2, 2009 · 1 comment

Comments

@klaith
Copy link

klaith commented Oct 2, 2009

Because the Invitation status is defined as a char in model but referrred to as int in code the expression:

if join_invitation.status not in [5, 7](line 183 in models.py)

always evaluates to true if you are running postgresql as chars are not integers.

I suggest changing the status field to an integer.

@klaith
Copy link
Author

klaith commented Oct 2, 2009

sorry - just seen its been fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant