Commit Graph

2 Commits

Author SHA1 Message Date
root 5cc9803330 fix: add missing sanctum auth guard config and register driver
The main branch was using auth:sanctum middleware on routes but
config/auth.php had no sanctum guard defined. This caused:

  Auth guard [sanctum] is not defined.

Fix:
1. Add the sanctum guard entry to config/auth.php with
   driver=sanctum and provider=users
2. Register the sanctum guard driver in AppServiceProvider::boot()
   as a safety net via Auth::resolved()
2026-06-24 22:58:42 -04:00
root 23b7db1107 add projet 2026-03-05 12:29:37 -05:00