Hi guys,
I am trying out Sentinel, but I am facing a challenge. Each time I call the Activation::complete method like this (Activation::complete($user, 'epzDOg6OHsHKLq5f5SPPdg7A9iUh2ukC')) I get an error message.
`PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\wamp64\www\practice\vendor\illuminate\support\Facades\Facade.php:258
Using the Sentinel::registerAndActivate() method works fine; user is created and activated. But I want activation to be done separately. Please any ideas about what I am doing wrong?
Your Environment
Hi guys, I am trying out Sentinel, but I am facing a challenge. Each time I call the Activation::complete method like this
(Activation::complete($user, 'epzDOg6OHsHKLq5f5SPPdg7A9iUh2ukC'))
I get an error message. `PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\wamp64\www\practice\vendor\illuminate\support\Facades\Facade.php:258Using the Sentinel::registerAndActivate() method works fine; user is created and activated. But I want activation to be done separately. Please any ideas about what I am doing wrong?
Thanks.