mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-17 12:01:41 +08:00
fix: 🐛 fix open id check error
This commit is contained in:
parent
aaecb43f8a
commit
f19ec9b3c4
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user