summaryrefslogtreecommitdiff
path: root/Juick/Model/User.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-25 11:27:08 +0300
committerGravatar Vitaly Takmazov2018-12-25 11:27:08 +0300
commitf1dc71f6b84dd0a8ef0a3c453bf8fc98e3347c14 (patch)
treeb1545112efb1961c00e2bc6da810612c0de0b105 /Juick/Model/User.m
parentd1d97b25b870aed785c4fa8e38a12f64f99db716 (diff)
Fix anonymous access and set keychain accessibility
Diffstat (limited to 'Juick/Model/User.m')
-rw-r--r--Juick/Model/User.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/Model/User.m b/Juick/Model/User.m
index 4043894..848fc2a 100644
--- a/Juick/Model/User.m
+++ b/Juick/Model/User.m
@@ -48,7 +48,7 @@
if (statusCode == 400) {
callback(YES);
} else {
- [manager.requestSerializer setAuthorizationHeaderFieldWithUsername:@"" password:@""];
+ [manager.requestSerializer clearAuthorizationHeader];
callback(NO);
}
}];}