feat: complete user authentication, admin guard, customer account dashboard and branded HTML emails

This commit is contained in:
2026-11-01 13:55:45 +01:00
parent b6ee6938cb
commit ee89da5e61
37 changed files with 1895 additions and 22 deletions
+12
View File
@@ -6,12 +6,24 @@ use App\Models\Category;
use App\Models\Color;
use App\Models\Material;
use App\Models\Product;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class DatabaseSeeder extends Seeder
{
public function run(): void
{
// 0. Hoofdbeheerder (Admin) met sterk willekeurig wachtwoord
User::updateOrCreate(
['email' => 'info@jouwdriedee.nl'],
[
'name' => 'Jouwdriedee Beheer',
'password' => Hash::make('Jw3D!x9#QmK7$vR2'),
'is_admin' => true,
'email_verified_at' => now(),
]
);
// 1. Materialen
$materials = [
[