mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
Merge pull request #60 from PR0M3TH3AN/codex/fix--nonetype--error-on-profile-load
Fix password check on profile switch
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user