diff --git a/openbis-ipad/openBIS/openBIS.xcodeproj/project.xcworkspace/xcuserdata/cramakri.xcuserdatad/UserInterfaceState.xcuserstate b/openbis-ipad/openBIS/openBIS.xcodeproj/project.xcworkspace/xcuserdata/cramakri.xcuserdatad/UserInterfaceState.xcuserstate index 179cee08748f65e5ac3b21983f606c01c50f262d..b1f43cef9b30f522e95913f850b02819d3a3c88d 100644 Binary files a/openbis-ipad/openBIS/openBIS.xcodeproj/project.xcworkspace/xcuserdata/cramakri.xcuserdatad/UserInterfaceState.xcuserstate and b/openbis-ipad/openBIS/openBIS.xcodeproj/project.xcworkspace/xcuserdata/cramakri.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/openbis-ipad/openBIS/openBIS/CISDOBAppDelegate.m b/openbis-ipad/openBIS/openBIS/CISDOBAppDelegate.m index 76985a91aa813a6219eeefb65172183340033cc0..9df45a2dd878ae6a672fe3780437375d03de6271 100644 --- a/openbis-ipad/openBIS/openBIS/CISDOBAppDelegate.m +++ b/openbis-ipad/openBIS/openBIS/CISDOBAppDelegate.m @@ -33,6 +33,11 @@ @synthesize rootOpenBisModel = _rootOpenBisModel; @synthesize serviceManager = _serviceManager; +#pragma mark - User management + +- (NSString *)username { return @"admin"; } +- (NSString *)password { return @"password"; } + - (void)configureControllers; { if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) { @@ -67,7 +72,7 @@ controller.openBisModel = self.rootOpenBisModel; // Initialize the connection to openBIS - CISDOBAsyncCall *call = [self.serviceManager loginUser: @"admin" password: @"password"]; + CISDOBAsyncCall *call = [self.serviceManager loginUser: [self username] password: [self password]]; call.success = ^(id result) { [controller didConnectServiceManager: self.serviceManager]; };