mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Change restrictiron for pw lenght from 50 to 500 chars
This commit is contained in:
parent
5fb49b45bc
commit
5d0c2d65c3
3 changed files with 3 additions and 3 deletions
|
@ -1442,7 +1442,7 @@ time.seconds=seconds
|
||||||
|
|
||||||
password.enterPassword=Enter password:
|
password.enterPassword=Enter password:
|
||||||
password.confirmPassword=Confirm password:
|
password.confirmPassword=Confirm password:
|
||||||
password.tooLong=Password must be less than 50 characters.
|
password.tooLong=Password must be less than 500 characters.
|
||||||
password.deriveKey=Derive key from password
|
password.deriveKey=Derive key from password
|
||||||
password.walletDecrypted=Wallet successfully decrypted and password protection removed.
|
password.walletDecrypted=Wallet successfully decrypted and password protection removed.
|
||||||
password.wrongPw=You entered the wrong password.\n\nPlease try entering your password again, carefully checking for typos or spelling errors.
|
password.wrongPw=You entered the wrong password.\n\nPlease try entering your password again, carefully checking for typos or spelling errors.
|
||||||
|
|
|
@ -119,7 +119,7 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
|
||||||
|
|
||||||
private void onApplyPassword(BusyAnimation busyAnimation, Label deriveStatusLabel) {
|
private void onApplyPassword(BusyAnimation busyAnimation, Label deriveStatusLabel) {
|
||||||
String password = passwordField.getText();
|
String password = passwordField.getText();
|
||||||
checkArgument(password.length() < 50, Res.get("password.tooLong"));
|
checkArgument(password.length() < 500, Res.get("password.tooLong"));
|
||||||
|
|
||||||
pwButton.setDisable(true);
|
pwButton.setDisable(true);
|
||||||
deriveStatusLabel.setText(Res.get("password.deriveKey"));
|
deriveStatusLabel.setText(Res.get("password.deriveKey"));
|
||||||
|
|
|
@ -189,7 +189,7 @@ public class WalletPasswordWindow extends Overlay<WalletPasswordWindow> {
|
||||||
unlockButton.setDisable(true);
|
unlockButton.setDisable(true);
|
||||||
unlockButton.setOnAction(e -> {
|
unlockButton.setOnAction(e -> {
|
||||||
String password = passwordTextField.getText();
|
String password = passwordTextField.getText();
|
||||||
checkArgument(password.length() < 50, Res.get("password.tooLong"));
|
checkArgument(password.length() < 500, Res.get("password.tooLong"));
|
||||||
KeyCrypterScrypt keyCrypterScrypt = walletsManager.getKeyCrypterScrypt();
|
KeyCrypterScrypt keyCrypterScrypt = walletsManager.getKeyCrypterScrypt();
|
||||||
if (keyCrypterScrypt != null) {
|
if (keyCrypterScrypt != null) {
|
||||||
busyAnimation.play();
|
busyAnimation.play();
|
||||||
|
|
Loading…
Add table
Reference in a new issue