1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Mobile: Security: Prevent bypassing fingerprint lock on certain devices

This commit is contained in:
Laurent Cozic
2023-04-09 11:28:18 +02:00
parent 02cf546124
commit 6b72f86e7b
7 changed files with 83 additions and 18 deletions

View File

@@ -501,7 +501,7 @@ async function initialize(dispatch: Function) {
if (Setting.value('env') === 'prod') {
await db.open({ name: getDatabaseName(currentProfile, isSubProfile) });
} else {
await db.open({ name: getDatabaseName(currentProfile, isSubProfile, '-1') });
await db.open({ name: getDatabaseName(currentProfile, isSubProfile, '-3') });
// await db.clearForTesting();
}