1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 00:52:43 +01:00

fix password hashing bug; closes #53

This commit is contained in:
Dane Everitt 2016-02-04 11:11:38 -05:00
parent 4b2bac2fce
commit 9a07cc83d1

View File

@ -124,7 +124,7 @@ class UserRepository
}
if(array_key_exists('password', $data)) {
$user['password'] = Hash::make($data['password']);
$data['password'] = Hash::make($data['password']);
}
return Models\User::findOrFail($id)->update($data);