-
I have a question about this line. Why is the code getting config's sanctum.guard when there were never a guard in the sanctum's config? And i dont think laravel documented anything about sanctum's guard config. Does that mean that we can change the guard from web to something else? Well i tried putting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Exactly, you can set a different guard (as long as it is defined in
I believe you're right, documentation says nothing about it. Surely, you can contribute to it and document such functionality 😄 |
Beta Was this translation helpful? Give feedback.
Exactly, you can set a different guard (as long as it is defined in
auth.php
config file, underguards
key). What's more, you can set multiple guards to check (via array).I believe you're right, documentation says nothing about it. Surely, you can contribute to it and document such functionality 😄