Permalink
Browse files

Fix for authentication inconsistancy

  • Loading branch information...
1 parent 87d2a44 commit 4c1b680cd353a76961da923eb7c4293caca80018 @dbloete dbloete committed Jul 19, 2010
Showing with 3 additions and 3 deletions.
  1. +0 −2 Classes/GHResource.m
  2. +1 −1 Info.plist
  3. +2 −0 iOctocat.xcodeproj/project.pbxproj
View
2 Classes/GHResource.m
@@ -47,8 +47,6 @@ + (ASIFormDataRequest *)authenticatedRequestForURL:(NSURL *)url {
NSString *token = [defaults stringForKey:kTokenDefaultsKey];
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
- [request setPostValue:login forKey:kLoginParamName];
- [request setPostValue:token forKey:kTokenParamName];
[request setUsername:login];
[request setPassword:token];
View
2 Info.plist
@@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>1.2.0</string>
+ <string>1.2.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
View
2 iOctocat.xcodeproj/project.pbxproj
@@ -1176,6 +1176,7 @@
PRODUCT_NAME = iOctocat;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "1DF98207-3FD6-457E-82DC-CA4D2878E277";
SDKROOT = iphoneos4.0;
+ VALIDATE_PRODUCT = YES;
};
name = "App Store Distribution";
};
@@ -1206,6 +1207,7 @@
PRODUCT_NAME = iOctocat;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
SDKROOT = iphoneos4.0;
+ VALIDATE_PRODUCT = YES;
};
name = "Ad Hoc Distribution";
};

0 comments on commit 4c1b680

Please sign in to comment.