Skip to content

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

fix: mediation should be required to avoid auto login

thecodrref2dce67796c
diff --git a/apps/web/src/components/dialogs/logindialog.js b/apps/web/src/components/dialogs/logindialog.js
index 8e4bd7004..384c2931a 100644
--- a/apps/web/src/components/dialogs/logindialog.js
+++ b/apps/web/src/components/dialogs/logindialog.js
@@ -21,7 +21,7 @@ function LoginDialog(props) {
if (!window.PasswordCredential) return;
(async function () {
const credential = await navigator.credentials.get({
- mediation: "optional",
+ mediation: "required",
password: true,
});
if (credential) {