Skip to content

Commit 882a154

Browse files
Update default user name in login and seeder files
1 parent 42be612 commit 882a154

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/Filament/Pages/Auth/Login.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public function mount(): void
1212

1313
if (app()->isLocal()) {
1414
$this->form->fill([
15-
'name' => config('app.default_user.name'),
1615
'email' => config('app.default_user.email'),
1716
'password' => config('app.default_user.password'),
1817
'remember' => true,

database/seeders/UserSeeder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function run(): void
1414
->create([
1515
'email' => config('app.default_user.email'),
1616
'password' => Hash::make(config('app.default_user.password')),
17-
'name' => 'Admin',
17+
'name' => config('app.default_user.name'),
1818
]);
1919
}
2020
}

0 commit comments

Comments
 (0)