Skip to content

Commit 1a7a297

Browse files
committed
Fixed migration discrepency
1 parent 88136e0 commit 1a7a297

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

BetterPasswordSchemaMigration.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ public function up() {
4848

4949
$userSettingsJoined->orderBy('user_id')->lazy()->each(function ($item, $key) {
5050
$passwords = json_decode($item->password);
51-
foreach ($passwords as &$password) {
52-
$password = Validation::encryptCredentials($item->user_id, $item->password);
53-
}
5451
$item->password = implode(',', $passwords);
5552
DB::table('stored_passwords')->insertOrIgnore([
5653
'user_id' => $item->user_id,

0 commit comments

Comments
 (0)