BrakaTakl

Auth user in global scope

Hello.
How can I access the current logged in user with auth()->user() in global scope defined in User model itself? When trying to do so, the application returns error 500 regarding maximum nesting level. I understand why this might be a problem, but is there a way to overcome this?