Register user
enbermudas opened this issue · 1 comments
enbermudas commented
How can i register an user and fill the referred_by
field ?
questocat commented
How can i register an user and fill the
referred_by
field ?
You don't need to care about this, I used model events "creating" to auto fill the referred_by field.
See: https://github.com/questocat/laravel-referral/blob/master/src/Traits/UserReferral.php#L33