-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Can you reference the Invitation key? #145
Comments
i am also looking for this. please reply |
@ashersuman this isn't the ideal way of going about it but as a workaround, I was able to get the inviters_id using a signal after a user signs up. I hope this helps.
|
Thanks a lot!! Signals worked for me. |
I'll post this here for anyone needing this, but was able to get the key via the below using the invite_accepted receiver. Note: the receiver currently has an error that is not merged yet and related to #116 the fix for this is listed in the #116 comments to modify installed files for Invitations --> views.py line 181, add request=request to arguments. That will get the signal to fire and the below should work in getting the key.
|
These are great ideas to have as small cookbook examples in the docs (#176) |
Hello,
Thanks for this great project!
Quick question.
I would like to reference the invitation key so that I can do a lookup on the inviters_id.
I would use the email address for the lookup but if the user clicks a link then wishes to signup with a different email this method would not work. However, if I could reference the invitation key that would be a unique string. Is there a way for me to get the invitation key in a variable?
thank you in advance.
The text was updated successfully, but these errors were encountered: