fix: user migration not happening twice

This commit is contained in:
Torsten Dittmann 2022-09-14 13:02:14 +02:00
parent 89f18f36b5
commit bdd67b0127

View file

@ -1097,7 +1097,7 @@ class V15 extends Migration
/** /**
* Skip if hash is set to default value. * Skip if hash is set to default value.
*/ */
if ($user->getAttribute('hash') === 'bcrypt') { if (in_array($user->getAttribute('hash'), ['bcrypt', 'argon2'])) {
continue; continue;
} }