You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Desktop: Fixes #10887: Prevent disabling of textbox inputs after entering an incorrect password (#11241)
This commit is contained in:
@ -206,7 +206,7 @@ const EncryptionConfigScreen = (props: Props) => {
|
||||
|
||||
if (hasMasterPassword && newEnabled) {
|
||||
if (!(await masterPasswordIsValid(newPassword))) {
|
||||
alert('Invalid password. Please try again. If you have forgotten your password you will need to reset it.');
|
||||
await dialogs.alert('Invalid password. Please try again. If you have forgotten your password you will need to reset it.');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user