refactor: decouple credentials to env, modularize seeders, clean dead views, and track vite build

This commit is contained in:
Ray1111-aa
2026-10-22 11:12:57 +07:00
parent 008c638894
commit 8a06a72889
16 changed files with 379 additions and 1885 deletions
@@ -468,7 +468,7 @@ class EmployeeController extends Controller
[
'name' => $name,
'email' => $cleanEmail,
'password' => Hash::make('123456'),
'password' => Hash::make(config('auth.default_employee_password', '123456')),
'role' => 'employee',
]
);
@@ -556,7 +556,7 @@ class EmployeeController extends Controller
[
'name' => $validated['name'],
'email' => strtolower(str_replace(['-', ' '], '', $validated['nik'])) . '@kmh.co.id',
'password' => Hash::make('123456'),
'password' => Hash::make(config('auth.default_employee_password', '123456')),
'role' => 'employee',
]
);