Aggiorna le credenziali dell'utente admin nel seeder per utilizzare l'email corretta e una password sicura
This commit is contained in:
@@ -14,14 +14,14 @@ class AdminUserSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
User::updateOrCreate(
|
||||
['email' => 'admin@htt.local'],
|
||||
['email' => 'admin@htt.it'],
|
||||
[
|
||||
'name' => 'Admin',
|
||||
'password' => Hash::make('password'),
|
||||
'password' => Hash::make('htt2026!'),
|
||||
'email_verified_at' => now(),
|
||||
]
|
||||
);
|
||||
|
||||
$this->command->info('Utente admin creato: admin@htt.local / password');
|
||||
$this->command->info('Utente admin creato: admin@htt.it / password: htt2026!');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user