Commits

Tuukka Norri committed ebc4674

Fixed a bug which caused the password stored in the keychain to be used even though the user had entered another

Comments (0)

Files changed (1)

Sources/BXDatabaseContext.m

 	if (nil == mUndoGroupingLevels)
 		mUndoGroupingLevels = [[NSMutableIndexSet alloc] init];
 	
-	if (YES == mUsesKeychain)
+	if (mUsesKeychain && ![[mDatabaseURI password] length])
         [self fetchPasswordFromKeychain];	    
 }