You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to disconnect my foursquare account and connect to other one, when I realize that the following code was not covering subdomains from foursquare
if ([[cookie domain]isEqualToString:@"foursquare.com"]) {
[storage deleteCookie:cookie];
}
In my case the domain was: pt.foursquare.com. It should be changed to:
if ([[cookie domain] rangeOfString:@"foursquare.com"].length > 0) {
[storage deleteCookie:cookie];
}
The text was updated successfully, but these errors were encountered:
I was trying to disconnect my foursquare account and connect to other one, when I realize that the following code was not covering subdomains from foursquare
if ([[cookie domain]isEqualToString:@"foursquare.com"]) {
[storage deleteCookie:cookie];
}
In my case the domain was: pt.foursquare.com. It should be changed to:
if ([[cookie domain] rangeOfString:@"foursquare.com"].length > 0) {
[storage deleteCookie:cookie];
}
The text was updated successfully, but these errors were encountered: