mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
fix(console): correct sms connector status (#2420)
This commit is contained in:
parent
6680a9c418
commit
bdff09a119
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ const useConnectorInUse = (type?: ConnectorType, target?: string): boolean | und
|
|||
return (
|
||||
data.signIn.methods.some(
|
||||
({ identifier, verificationCode }) =>
|
||||
verificationCode && identifier === SignInIdentifier.Email
|
||||
verificationCode && identifier === SignInIdentifier.Sms
|
||||
) ||
|
||||
(data.signUp.identifier === SignUpIdentifier.Email && data.signUp.verify)
|
||||
(data.signUp.identifier === SignUpIdentifier.Sms && data.signUp.verify)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue