Revision: 27952
http://sourceforge.net/p/bibdesk/svn/27952
Author: hofman
Date: 2022-09-28 15:45:27 +0000 (Wed, 28 Sep 2022)
Log Message:
-----------
get password through getter method
Modified Paths:
--------------
trunk/bibdesk/BDSKServerInfo.m
Modified: trunk/bibdesk/BDSKServerInfo.m
===================================================================
--- trunk/bibdesk/BDSKServerInfo.m 2022-09-28 15:06:55 UTC (rev 27951)
+++ trunk/bibdesk/BDSKServerInfo.m 2022-09-28 15:45:27 UTC (rev 27952)
@@ -479,21 +479,9 @@
- (NSString *)password;
{
// do return the value to the UI while editing
- if ([self isZoom] == NO && [self isISI] == NO)
- return nil;
- // don't bother being thread safe, as the mutable class is not thread safe
anyway
- if (password == nil) {
- NSString *user = [self username];
- if (user) {
- NSString *server = [self isISI] ? ISI_SERVER : [self host];
- if (server) {
- password = [[BDSKPasswordController
passwordForKeychainServer:server port:[[self port] integerValue] account:user]
copy];
- if (password)
- passwordInKeychain = YES;
- }
- }
- }
- return password;
+ NSString *aPassword = nil;
+ [self getUsername:NULL password:&aPassword];
+ return aPassword;
}
- (void)setPassword:(NSString *)newPassword;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit