Skip to content

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

enable password change and reset options

ammarahm-edf6cb9f2613e0
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index da235e7ad..ea61bc7fa 100644
--- a/apps/mobile/src/components/LoginDialog/index.js
+++ b/apps/mobile/src/components/LoginDialog/index.js
@@ -653,7 +653,7 @@ const LoginDialog = () => {
</>
)}
- {/* {mode === MODES.login || mode === MODES.sessionExpired ? (
+ {mode === MODES.login || mode === MODES.sessionExpired ? (
<Button
title="Forgot password?"
style={{
@@ -667,7 +667,7 @@ const LoginDialog = () => {
}
setMode(MODES.forgotPassword);
}}/>
- ) : null} */}
+ ) : 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.js
index 6dc392f77..ab3b61434 100644
--- a/apps/mobile/src/views/Settings/usersection.js
+++ b/apps/mobile/src/views/Settings/usersection.js
@@ -278,13 +278,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 () => {