feat: initialisation complète du projet CESIZen
- Backend Laravel 11 (API REST, JWT auth, PostgreSQL) - Frontend Next.js 14 (React, TypeScript, Tailwind CSS) - Docker Compose (PostgreSQL, backend, frontend) - Modules : auth, profil, tracker émotions, informations, admin
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Utilisateur;
|
||||
|
||||
return [
|
||||
|
||||
'defaults' => [
|
||||
'guard' => 'api',
|
||||
'passwords' => 'utilisateurs',
|
||||
],
|
||||
|
||||
'guards' => [
|
||||
'web' => [
|
||||
'driver' => 'session',
|
||||
'provider' => 'utilisateurs',
|
||||
],
|
||||
'api' => [
|
||||
'driver' => 'jwt',
|
||||
'provider' => 'utilisateurs',
|
||||
],
|
||||
],
|
||||
|
||||
'providers' => [
|
||||
'utilisateurs' => [
|
||||
'driver' => 'eloquent',
|
||||
'model' => Utilisateur::class,
|
||||
],
|
||||
],
|
||||
|
||||
'passwords' => [
|
||||
'utilisateurs' => [
|
||||
'provider' => 'utilisateurs',
|
||||
'table' => 'password_reset_tokens',
|
||||
'expire' => 60,
|
||||
'throttle' => 60,
|
||||
],
|
||||
],
|
||||
|
||||
'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800),
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user