tykus8 years agoLevel 104ReplyReport SpamHow are you using actingAs; it takes a user instance rather than an id. Like Reply
Mohammed-H OP 8 years agoLevel 9ReplyReport Spam@tykus yep I use a user instance. The issue is that i have a model observer listening to the creating event and needs the authenticated user id. I am getting null Like Reply
Mohammed-H OP 8 years agoLevel 9ReplyReport Spamfinally got it fixe, I used the auth() helper to log a user in the boot method. Like Reply