From bdf044ed8cb81c0851e69f2206843386ae927a69 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Thu, 22 Feb 2024 10:21:25 +0000 Subject: [PATCH] Update 'email' to 'password' in factors --- src/Appwrite/Migration/Version/V20.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);