mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: user migration not happening twice
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user