Randy_Johnson
4 months ago
174
0
General

Access Level Of a non Object

Posted 4 months ago by Randy_Johnson
if(Auth::user()->access_level != 2)
        {
            echo "You are in the wrong location my friend...";
        }

I know this is the incorrect way of doing it after following a roles tutorial, but I am just wondering why this is happening.

Please sign in or create an account to participate in this conversation.