3 ms·
We add custom invite code to each application. For each app, we have an admin site that has a button that allows us to generate a single invite -- a button that
by aliasaria 18y ago
We add custom invite code to each application. For each app, we have an admin site that has a button that allows us to generate a single invite -- a button that says "gimme a ticket". It uses an sqlite table to store all of them. Every time an account is created, it checks if the invite code exists and has been used yet. If it hasn't been used, the form validates and the username of the new user is stored in the ticket table so we can track which invites are used.
Some good features to have for a ticketing system:
- ability to type in an email or set of emails and it automatically sends a different beta code to each address
- ability to have one invite be able to create more than one account (sometimes we send a code to a company and tell them to create a few accounts for their staff, each invite can create X users before it expires)
- have a date expiry on invites so you can toss-out old ones