diff --git a/src/Appwrite/Migration/Version/V15.php b/src/Appwrite/Migration/Version/V15.php index 67046b975d..350155e7b5 100644 --- a/src/Appwrite/Migration/Version/V15.php +++ b/src/Appwrite/Migration/Version/V15.php @@ -1093,6 +1093,14 @@ class V15 extends Migration if (is_null($user->getAttribute('password'))) { continue; } + + /** + * Skip if hash is set to default value. + */ + if ($user->getAttribute('hash') === 'bcrypt') { + continue; + } + /** * Skip when password is JSON. */