|
|
@@ -141,7 +141,7 @@
|
|
|
appDelegate.submit_order_logout = false;
|
|
|
appDelegate.alert_sold_in_quantities = false;
|
|
|
|
|
|
- appDelegate.ipad_perm =nil ;
|
|
|
+ RASingleton.sharedInstance.ipad_perm =nil ;
|
|
|
appDelegate.user_type = USER_ROLE_UNKNOWN;
|
|
|
appDelegate.OrderFilter= nil;
|
|
|
[appDelegate SetSo:nil];
|
|
|
@@ -168,7 +168,7 @@
|
|
|
if(true)
|
|
|
{
|
|
|
NSString* encryptu=[AESCrypt encrypt:RASingleton.sharedInstance.user password:@"usai"];
|
|
|
- NSString* encryptp=[AESCrypt encrypt:appDelegate.password password:@"usai"] ;
|
|
|
+ NSString* encryptp=[AESCrypt encrypt:RASingleton.sharedInstance.password password:@"usai"] ;
|
|
|
|
|
|
[defaults setValue:encryptu forKey:@"user"];
|
|
|
[defaults setValue:encryptp forKey:@"password"];
|
|
|
@@ -264,7 +264,7 @@
|
|
|
// if(true)
|
|
|
// {
|
|
|
// NSString* encryptu=[AESCrypt encrypt:RASingleton.sharedInstance.user password:@"usai"];
|
|
|
- // NSString* encryptp=[AESCrypt encrypt:appDelegate.password password:@"usai"] ;
|
|
|
+ // NSString* encryptp=[AESCrypt encrypt:RASingleton.sharedInstance.password password:@"usai"] ;
|
|
|
//
|
|
|
// [defaults setValue:encryptu forKey:@"user"];
|
|
|
// [defaults setValue:encryptp forKey:@"password"];
|
|
|
@@ -375,7 +375,7 @@
|
|
|
// appDelegate.submit_order_logout = false;
|
|
|
// appDelegate.alert_sold_in_quantities = false;
|
|
|
//
|
|
|
-// appDelegate.ipad_perm =nil ;
|
|
|
+// RASingleton.sharedInstance.ipad_perm =nil ;
|
|
|
// appDelegate.user_type = USER_ROLE_UNKNOWN;
|
|
|
// appDelegate.OrderFilter= nil;
|
|
|
// [appDelegate SetSo:nil];
|
|
|
@@ -402,7 +402,7 @@
|
|
|
// if(true)
|
|
|
// {
|
|
|
// NSString* encryptu=[AESCrypt encrypt:RASingleton.sharedInstance.user password:@"usai"];
|
|
|
-// NSString* encryptp=[AESCrypt encrypt:appDelegate.password password:@"usai"] ;
|
|
|
+// NSString* encryptp=[AESCrypt encrypt:RASingleton.sharedInstance.password password:@"usai"] ;
|
|
|
//
|
|
|
// [defaults setValue:encryptu forKey:@"user"];
|
|
|
// [defaults setValue:encryptp forKey:@"password"];
|
|
|
@@ -494,7 +494,7 @@
|
|
|
//// if(true)
|
|
|
//// {
|
|
|
//// NSString* encryptu=[AESCrypt encrypt:RASingleton.sharedInstance.user password:@"usai"];
|
|
|
-//// NSString* encryptp=[AESCrypt encrypt:appDelegate.password password:@"usai"] ;
|
|
|
+//// NSString* encryptp=[AESCrypt encrypt:RASingleton.sharedInstance.password password:@"usai"] ;
|
|
|
////
|
|
|
//// [defaults setValue:encryptu forKey:@"user"];
|
|
|
//// [defaults setValue:encryptp forKey:@"password"];
|