Closed cesargb closed 3 years ago
You can access to magiclink object when call ResponseAction function
magiclink
ResponseAction
$magiclink = MagicLink::create(new ResponseAction( function ($magiclink) { if (Auth::user()->actived) { $magiclink->delete(); return 'your account was activated'; } return 'active your account'; }) );
You can access to
magiclink
object when callResponseAction
function