mirror of
https://github.com/logto-io/logto.git
synced 2025-04-14 23:11:31 -05:00
fix(schemas): update sms alteration script (#2949)
This commit is contained in:
parent
1dfe21d41c
commit
dd02fb1bfc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ const alterSignUp = (signUp: OldSignUp) => {
|
|||
const { identifiers, password, verify } = signUp;
|
||||
|
||||
const newIdentifiers = identifiers.map((identifier) => {
|
||||
if (identifier === OldSignInIdentifier.Sms) {
|
||||
if (identifier.toLocaleLowerCase() === OldSignInIdentifier.Sms) {
|
||||
return SignInIdentifier.Phone;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue