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
reenable forgot/change password
ammarahm-ed116886ea43c2
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.jsindex e0ec29f77..23ae734f3 100644--- a/apps/mobile/src/components/LoginDialog/index.js+++ b/apps/mobile/src/components/LoginDialog/index.js@@ -652,6 +652,22 @@ const LoginDialog = () => {/></>)}++ {mode === MODES.login || mode === MODES.sessionExpired ? (+ <Button+ title="Forgot password?"+ style={{+ alignSelf:'flex-end',+ height:30,+ }}+ onPress={() => {+ if (MODES.sessionExpired === mode) {+ sendEmail(true);+ return;+ }+ setMode(MODES.forgotPassword);+ }}/>+ ) : null}<Seperator />{mode !== MODES.signup && mode !== MODES.changePassword ? null : (<>diff --git a/apps/mobile/src/views/Settings/usersection.js b/apps/mobile/src/views/Settings/usersection.jsindex 002c71e6e..d0c8fa09d 100644--- a/apps/mobile/src/views/Settings/usersection.js+++ b/apps/mobile/src/views/Settings/usersection.js@@ -24,6 +24,7 @@ import {} from '../../utils';import {eCloseProgressDialog,+ eOpenLoginDialog,eOpenPremiumDialog,eOpenRecoveryKeyDialog} from '../../utils/Events';@@ -81,10 +82,6 @@ const SettingsUserSection = () => {return (<>- {messageBoardState && messageBoardState?.visible && (- <Card color={colors.accent} />- )}-{user ? (<><View@@ -282,13 +279,13 @@ const SettingsUserSection = () => {},desc: 'Recover your data using the recovery key if your password is lost.'},- /* {- name: 'Change password',- func: async () => {- eSendEvent(eOpenLoginDialog, 3);- },- desc: 'Setup a new password for your account.'- }, */+ {+ name: 'Change password',+ func: async () => {+ eSendEvent(eOpenLoginDialog, 3);+ },+ desc: 'Setup a new password for your account.'+ },{name: 'Having problems with syncing?',func: async () => {