keithbrink / affiliates-spark

An affiliates package for Laravel Spark that allows you to track referrals from affiliates and pay commission
MIT License
23 stars 7 forks source link

auto-generate affiliate token #3

Closed jayenne closed 5 years ago

jayenne commented 5 years ago

Would it be possible to auto-generate a valid & random token so that we don't need to? Being able to overwrite it within the field would possibly be of use to somepeople but it should check for uniqueness via ajax just liek username checkers.

also: why does the token need to be all capitals?