Fix AdminSeeder to use correct bcrypt hash format
This commit is contained in:
parent
047f81b73f
commit
7258b35dda
1 changed files with 3 additions and 3 deletions
|
|
@ -12,11 +12,11 @@ class AdminSeeder extends Seeder
|
|||
*/
|
||||
public function run(): void
|
||||
{
|
||||
// Create Eliza admin user with password from v1.0
|
||||
// Insert directly to avoid double-hashing by the model mutator
|
||||
// Create Eliza admin user
|
||||
// Insert directly to avoid any model mutators
|
||||
\DB::table('admin_users')->insert([
|
||||
'username' => 'eliza',
|
||||
'password' => '$2a$12$gyoJoEXpig8W.GhuJG5KBeXg2AK71iyj5bX6HW24TLema5FH7ByxK', // Pre-hashed from v1
|
||||
'password' => '$2y$12$0ALddIeVIN8UN9.6Des9reVTdu4RpIRgHoQzowPp1wYwjK7.RafhK', // Password: AXEoZWk2AMAD0naw
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue