astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

resend invitation #77

Closed allynt closed 4 years ago

allynt commented 4 years ago

Checklist

Is your feature request related to a problem? Please describe

Add the ability to resend an invitation to an existing CustomerUser as per https://github.com/astrosat/orbis/issues/805

Describe the solution you'd like

Rather than just send an invitation email as part of the CustomerUser creation code, write an explicit invite function. Call this function from the create view. But add another view just for resending the invitation.

Although orbis is not using this feature, if an existing user is added to a customer an invitation should still be sent - it should just not include the content about resetting passwords.

Also, note that the email templates ought to be updated in orbis to override the generic ones in this app.