Update 'email' to 'password' in factors
This commit is contained in:
parent
d020730a74
commit
bdf044ed8c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue