Skip to content

Commit

Permalink
chore: use "password" password for filament in local env (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored Oct 10, 2023
1 parent 69c8bbf commit ade428d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/seeders/AdminUserSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function run(): void
$users = array_keys(config('permission.user_role'));

foreach ($users as $email) {
$password = Str::random(10);
$password = app()->isLocal() ? 'password' : Str::random(10);

$this->command->info("Password for $email: $password");

Expand Down

0 comments on commit ade428d

Please sign in to comment.