Closed gaelreyrol closed 3 years ago
If I configure Fortify guard to api, it throws an error when requesting any controller using a guard property. The api guard is a TokenGuard and every controller needs a StatefulGuard.
api
TokenGuard
StatefulGuard
Is Fortify not supposed to be used with api guard ?
Regards
No, it's not supposed to be used with that guard.
I've sent in a PR to the docs to clarify this: https://github.com/laravel/fortify/pull/146
Description:
If I configure Fortify guard to
api
, it throws an error when requesting any controller using a guard property. Theapi
guard is aTokenGuard
and every controller needs aStatefulGuard
.Is Fortify not supposed to be used with
api
guard ?Regards