Skip to content

Commit 56922b8

Browse files
committed
Merge pull request #2 from fosron/patch-1
Fix Password encryption when creating the first account
2 parents 0462a77 + 79b2b93 commit 56922b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/QuickAdminInstall.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function createUser()
8484
{
8585
$data['name'] = $this->ask('Administrator name');
8686
$data['email'] = $this->ask('Administrator email');
87-
$data['password'] = $this->secret('Administrator password');
87+
$data['password'] = bcrypt($this->secret('Administrator password'));
8888
$data['role_id'] = 1;
8989
User::create($data);
9090
$this->info('User has been created');

0 commit comments

Comments
 (0)