fix(migrations): pull default employee password from config
This commit is contained in:
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
[
|
||||
'name' => $emp->name,
|
||||
'email' => $cleanNik . '@kmh.co.id',
|
||||
'password' => Hash::make('password'),
|
||||
'password' => Hash::make(config('auth.default_employee_password', '123456')),
|
||||
'role' => 'employee',
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user