haritz
Authentication user provider is not defined
I am trying to access current user in the AdminPanelProvider but I get the title error.
auth()->user()
If I do the same in any Reaource, works fine. I just want to check user role and depending on the role display navigation or not. We have ->navigation(true/false) so I want to make it work with the current user role.
Thank you.
4 replies
Login without password
It is possible to use the current login form to login without password? I want users to be able to login with a card. That card has a code inside that will be use to login. If they do not have the card, they will login with user and password.
6 replies