feat: fix MFA preference doesn't work bug (#3790)

This commit is contained in:
DacongDA 2025-05-15 21:04:36 +08:00 committed by GitHub
parent b15b3b9335
commit 702b390da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1616,7 +1616,7 @@ export function isDarkTheme(themeAlgorithm) {
function getPreferredMfaProp(mfaProps) {
for (const i in mfaProps) {
if (mfaProps[i].isPreffered) {
if (mfaProps[i].isPreferred) {
return mfaProps[i];
}
}