mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix: 🐛 fix open id check error
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user