mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
fix(console): fix disable state of mfa policy options (#4776)
This commit is contained in:
parent
75e5df0091
commit
d221b30b35
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function MfaForm({ data, onMfaUpdated }: Props) {
|
|||
|
||||
const isPolicySettingsDisabled = useMemo(() => {
|
||||
if (isMfaDisabled) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
const { factors } = convertMfaFormToConfig(formValues);
|
||||
return factors.length === 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue