mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Use clear instead of empty string for overwriting value in memory
This commit is contained in:
parent
859ce2cdfd
commit
794ac5da2d
1 changed files with 4 additions and 4 deletions
|
@ -136,8 +136,8 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
|
|||
new Popup<>()
|
||||
.feedback(Res.get("password.walletDecrypted"))
|
||||
.show();
|
||||
passwordField.setText("");
|
||||
repeatedPasswordField.setText("");
|
||||
passwordField.clear();
|
||||
repeatedPasswordField.clear();
|
||||
walletsManager.backupWallets();
|
||||
} else {
|
||||
pwButton.setDisable(false);
|
||||
|
@ -151,8 +151,8 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
|
|||
new Popup<>()
|
||||
.feedback(Res.get("password.walletEncrypted"))
|
||||
.show();
|
||||
passwordField.setText("");
|
||||
repeatedPasswordField.setText("");
|
||||
passwordField.clear();
|
||||
repeatedPasswordField.clear();
|
||||
walletsManager.clearBackup();
|
||||
walletsManager.backupWallets();
|
||||
} catch (Throwable t) {
|
||||
|
|
Loading…
Add table
Reference in a new issue