A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: do not call clearSessions when changing password
Ammar Ahmed76a1025f59c8
diff --git a/apps/mobile/app/components/auth/change-password.js b/apps/mobile/app/components/auth/change-password.jsindex 679cfa0eb..e0368dab1 100644--- a/apps/mobile/app/components/auth/change-password.js+++ b/apps/mobile/app/components/auth/change-password.js@@ -77,7 +77,6 @@ export const ChangePassword = () => {throw new Error(strings.backupFailed() + `: ${result.error}`);}- await db.user.clearSessions();await db.user.changePassword(oldPassword.current, password.current);ToastManager.show({heading: strings.passwordChangedSuccessfully(),@@ -89,6 +88,7 @@ export const ChangePassword = () => {await sleep(300);eSendEvent(eOpenRecoveryKeyDialog);} catch (e) {+ console.log(e.stack);setLoading(false);ToastManager.show({heading: strings.passwordChangeFailed(),