Remove unused encryption mode setting

This commit is contained in:
thePR0M3TH3AN
2025-07-02 19:00:49 -04:00
parent c8db87d3d2
commit 57adf0bf01
6 changed files with 28 additions and 89 deletions

View File

@@ -696,7 +696,6 @@ class PasswordManager:
)
self.store_hashed_password(password)
self.config_manager.set_encryption_mode(self.encryption_mode)
logging.info("User password hashed and stored successfully.")
seed_mgr.encrypt_parent_seed(seed)
@@ -1463,7 +1462,6 @@ class PasswordManager:
self.vault.set_encryption_manager(new_mgr)
self.vault.save_index(index_data)
self.config_manager.vault = self.vault
config_data["encryption_mode"] = new_mode.value
self.config_manager.save_config(config_data)
self.encryption_manager = new_mgr