diff options
Diffstat (limited to 'Juick/Model')
-rw-r--r-- | Juick/Model/User.m | 2 |
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); } }];} |