All documentation that I have found refers to the Laravel helper actingAs() but this requires me to be using Laravel's native Auth package and I'm using Cartalyst's Sentinel and so can't use actingAs().
Has anyone found a way around this?
All documentation that I have found refers to the Laravel helper actingAs() but this requires me to be using Laravel's native Auth package and I'm using Cartalyst's Sentinel and so can't use actingAs().
Has anyone found a way around this?
You can use the
loginmethod of Sentinel facade.You can also use
setUsermethod of Sentinel facade. Note this doesn't log the user in.