aaronrenner / phx_gen_auth

An authentication system generator for Phoenix 1.5 applications.
774 stars 56 forks source link

Invite-Only Applications (No public registration) #66

Closed paulstatezny closed 4 years ago

paulstatezny commented 4 years ago

Thanks so much for this library! Really great stuff. ❤️

I'm wondering, do you have any specific recommendations for modifying the generated code for an application that doesn't have public registration? That is, an application where you set up "administrators" to start off, and then from that point on the way that users join is by invitation. This would be typical of an application used by a business, with only its employees as users.

Thanks!

josevalim commented 4 years ago

Hi @paulstatezny! Glad you are enjoying! My suggestion is to ask this question on the elixir forum in case someone has already tried an approach similar to the one you propose and can give you concrete pointers. :) Good luck!