disable password forget/change

This commit is contained in:
ammarahm-ed
2022-01-05 18:15:13 +05:00
parent db01b30229
commit d3bbf045e3
2 changed files with 10 additions and 9 deletions

View File

@@ -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 : (
<>

View File

@@ -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 () => {