Base solution for your next web application
Open Closed

Does Asp.NET Zero support to send registration invitation? #5074


User avatar
0
doligence created

Hi,

I want to have user registration via email invitation.

Is it achievable with Asp.Net Zero by default?

Thanks.


5 Answer(s)
  • User Avatar
    0
    bbakermmc created

    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.

  • User Avatar
    0
    alper created
    Support Team

    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.

  • User Avatar
    0
    doligence created

    Thank you. I have searched for. Just thought this would be a very standard feature to be ready in this pack.

  • User Avatar
    0
    alper created
    Support Team

    actually you are the first one asking for this feature :)

  • User Avatar
    0
    Homam created

    Yes, would be great if we have this as a standard feature.