fix: 🐛 fix open id check error

This commit is contained in:
Jin
2025-03-28 11:59:32 +01:00
parent aaecb43f8a
commit f19ec9b3c4

View File

@@ -22,7 +22,7 @@ function checkOpenIDConfig() {
}
function isOpenIDEnabled() {
return !(checkOpenIDConfig().length > 0) && options.getOption('mfaMethod') === 'oauth';
return !(checkOpenIDConfig().length > 0) && options.getOptionOrNull('mfaMethod') === 'oauth';
}
function isUserSaved() {