mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
feat: fix MFA preference doesn't work bug (#3790)
This commit is contained in:
parent
b15b3b9335
commit
702b390da1
@ -1616,7 +1616,7 @@ export function isDarkTheme(themeAlgorithm) {
|
|||||||
|
|
||||||
function getPreferredMfaProp(mfaProps) {
|
function getPreferredMfaProp(mfaProps) {
|
||||||
for (const i in mfaProps) {
|
for (const i in mfaProps) {
|
||||||
if (mfaProps[i].isPreffered) {
|
if (mfaProps[i].isPreferred) {
|
||||||
return mfaProps[i];
|
return mfaProps[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user