mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-18 20:56:18 +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() {
|
function isOpenIDEnabled() {
|
||||||
return !(checkOpenIDConfig().length > 0) && options.getOption('mfaMethod') === 'oauth';
|
return !(checkOpenIDConfig().length > 0) && options.getOptionOrNull('mfaMethod') === 'oauth';
|
||||||
}
|
}
|
||||||
|
|
||||||
function isUserSaved() {
|
function isUserSaved() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user