shinobi icon indicating copy to clipboard operation
shinobi copied to clipboard

Guard Name api or web

Open kellycreativo opened this issue 8 years ago • 0 comments

Use guardname api example in LaravelPassport VueJS return true if is Super admin example code:

auth('api')->user()->isRole('SuperAdmin') return false

kellycreativo avatar Aug 19 '18 14:08 kellycreativo