Merge pull request #60 from PR0M3TH3AN/codex/fix--nonetype--error-on-profile-load

Fix password check on profile switch
This commit is contained in:
thePR0M3TH3AN
2025-06-30 11:25:07 -04:00
committed by GitHub

View File

@@ -271,6 +271,12 @@ class PasswordManager:
"EncryptionManager set up successfully for selected fingerprint." "EncryptionManager set up successfully for selected fingerprint."
) )
# Initialize ConfigManager before verifying password
self.config_manager = ConfigManager(
vault=self.vault,
fingerprint_dir=fingerprint_dir,
)
# Verify the password # Verify the password
self.fingerprint_dir = fingerprint_dir # Ensure self.fingerprint_dir is set self.fingerprint_dir = fingerprint_dir # Ensure self.fingerprint_dir is set
if not self.verify_password(password): if not self.verify_password(password):