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

How does the app knows which invitation is accepted if user registers with another email #111

Open
gotexis opened this issue Aug 14, 2018 · 1 comment

Comments

@gotexis
Copy link

gotexis commented Aug 14, 2018

First of all, I want to say great project, thank all the contributors!

I am using allauth together with this.

Studying the code, there is one thing that confuses me. In my understanding, when a user signs up, a sign_up signal is emitted and the invitation looks up the invitation list by email to check which invitation was accepted. However, when experiencing the app, I think the invitation was still marked as accepted even if the user changed the email during sign up. Therefore I am curious how exactly did the app know and keep track of invitations.

Also when user click through a KEY link and be redirected to the sign-up page, the form renders with the email field already pre-filled, I am not sure how these data was passed into the form.

The reason I am asking is that I am trying to pass more data in this manner. For example, I wish to specify a user_type field in my custom Invitation(Model), and if I am able to link the invitation with the user who actually registered with that invitation, then I can pass that information to the user created, setting the correct user type.

Any help would be appreciated!

@sourabh0207
Copy link

In my case, I am inviting employees but once it accepts the invitation then didn't find any way to identify which user accepts the invitation. Will you please update the documentation for the same?

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

2 participants