1
0
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:
mrjo118
2024-10-26 21:07:22 +01:00
committed by GitHub
parent 6cbdde578d
commit c2844470c5

View File

@ -206,7 +206,7 @@ const EncryptionConfigScreen = (props: Props) => {
if (hasMasterPassword && newEnabled) { if (hasMasterPassword && newEnabled) {
if (!(await masterPasswordIsValid(newPassword))) { 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; return;
} }
} }