Reputation: 76
I have 3 different use case were i want to create a sysusers, in same model:
And I want them to enter their new password i the process. How do I solve this best?
Upvotes: 2
Views: 56
Reputation: 76
In the latest version the returnUrl is kept even when the user goes through register and that solves the issue. Thanks MDriven for absolutely terrific support!
Upvotes: 1
Reputation: 2435
Even if it is possible to go this route I would suggest that you flip it the other way around. Ask the user to create an account. Once they have an account you promote that account to being coworker and/or customer by setting some state on the already existing sysuser.
... Have a UserInvite object - email the link to a page where the invite is accepted - in the accept page show user link to register or login if they have not done that. Once you have a CurrentUser and UserInviteObject in scope you can tie it all together and be done think.
Upvotes: 0