You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above throws Class 'Activation' not found error.
It seems to be undocumented and consumes quite a lot of time to solve the problem out. Thanks to the only one post on StackOverflow.om I've found the solution.
This is because the Activation class provided with Sentinel is only supported by Laravel directly not the Native Laravel/Database library for some strange reason.
You can get the Activation Repository for Native by replacing... Activation:: with Sentinel::getActivationRepository()
Sentinel works well with Laravel, but it has some traps when it comes to the native implementation.
Let's try creating an activation.
The above throws
Class 'Activation' not found
error.It seems to be undocumented and consumes quite a lot of time to solve the problem out. Thanks to the only one post on StackOverflow.om I've found the solution.
So the solution is:
Unfortunately, there is nothing about that in docs. Consider adding a bit more info about native implementation, please.
The text was updated successfully, but these errors were encountered: