Hi,
I want to have user registration via email invitation.
Is it achievable with Asp.Net Zero by default?
Thanks.
5 Answer(s)
-
0
You can create accounts that require password changes on next login. But you basically create the account for them though, they can edit thing after.
-
0
No, not available. But easy to implement;
1- Create a new modal dialog that accepts an email. Put a button on Users page that opens this invitation modal.
2- Create a new entity UserInvitiation [Email, InvitationCode, InvitationSentDate, InvitationAcceptDate?]
3- On modal dialog save action;
- Insert a new record into UserInvitations table with the specified Email.
- Send the email containing the link like <a class="postlink" href="https://www.domain.com/account/register?invitationCode=xxx-yyy-zzz">https://www.domain.com/account/register ... xx-yyy-zzz</a>
4- When the guest clicks that link, open the default registration page. When the guest clicks Submit button, validate the invitationCode regarding to the given email address. Validate the user thru the UserInvitations table. Set the InvitationAcceptDate = now, after successful validation.
-
0
Thank you. I have searched for. Just thought this would be a very standard feature to be ready in this pack.
-
0
actually you are the first one asking for this feature :)
-
0
Yes, would be great if we have this as a standard feature.