mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 23:48:23 +00:00
fix: user migration not happening twice
This commit is contained in:
parent
89f18f36b5
commit
bdd67b0127
1 changed files with 1 additions and 1 deletions
|
|
@ -1097,7 +1097,7 @@ class V15 extends Migration
|
|||
/**
|
||||
* Skip if hash is set to default value.
|
||||
*/
|
||||
if ($user->getAttribute('hash') === 'bcrypt') {
|
||||
if (in_array($user->getAttribute('hash'), ['bcrypt', 'argon2'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue