Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: cannot read property isEnabled of undefined

thecodrr3d5e40e15502
diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.js
index 662e9dd5d..baff6f0d5 100644
--- a/apps/web/src/views/settings.js
+++ b/apps/web/src/views/settings.js
@@ -289,7 +289,7 @@ function Settings(props) {
</>
)}
- {isLoggedIn && (
+ {isLoggedIn && user.mfa && (
<>
<Header
title="Two-factor authentication"