1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
} }
} }