mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update 'email' to 'password' in factors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user