Skip to content

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

disable password forget/change

ammarahm-edd3bbf045e368
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index 23ae734f3..714896cc0 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,8 @@ 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 d0c8fa09d..16f303046 100644
--- a/apps/mobile/src/views/Settings/usersection.js
+++ b/apps/mobile/src/views/Settings/usersection.js
@@ -279,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 () => {