User Auth Laravel and Asgard
-
What i need to do with the Laravel configs of
User Auth
?For example i have the
helper function auth()
in Laravel, and its return me thedefault App/User
that are in Laravel config.I need to change it for fit the Asgard drivers? Or i need to disable it in some way?
And have AsgardCMS some helper function for retrive authentication?
Because i not undersand what are the right way for get the current logged in user, for filter results on it own created data. (I want make a multitenant app)
Thank in advance.
-
This work always
$auth = app(Authentication::class);
perfect! After i do a$auth->check()
and all okay!
-
This post is deleted!