qml: enforce use of existing password for wallet creation
When creating a new wallet in a Electrum instance with existing wallets this change forces the user to reuse a password of any existing wallet if `SimpleConfig.WALLET_USE_SINGLE_PASSWORD` is True. This prevents the amount of different passwords from increasing and guides the user towards a single wallet password (the intended default).
This commit is contained in:
@@ -397,7 +397,7 @@ def main():
|
||||
'verbosity': '*' if util.is_android_debug_apk() else '',
|
||||
'cmd': 'gui',
|
||||
SimpleConfig.GUI_NAME.key(): 'qml',
|
||||
SimpleConfig.WALLET_USE_SINGLE_PASSWORD.key(): True,
|
||||
SimpleConfig.WALLET_SHOULD_USE_SINGLE_PASSWORD.key(): True,
|
||||
}
|
||||
SimpleConfig.set_chain_config_opt_based_on_android_packagename(config_options)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user