diff --git a/src/Appwrite/Migration/Version/V20.php b/src/Appwrite/Migration/Version/V20.php index e0055300e0..0ef899588e 100644 --- a/src/Appwrite/Migration/Version/V20.php +++ b/src/Appwrite/Migration/Version/V20.php @@ -545,7 +545,7 @@ class V20 extends Migration $factors = match ($document->getAttribute('provider')) { Auth::SESSION_PROVIDER_ANONYMOUS => ['anonymous'], Auth::SESSION_PROVIDER_PHONE => ['phone'], - default => ['email'], + default => ['password'], }; $document->setAttribute('factors', $factors);