mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 20:21:19 +02:00
disable password forget/change
This commit is contained in:
@@ -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 : (
|
||||
<>
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user