summaryrefslogtreecommitdiff
path: root/Juick/Model
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Model')
-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 f4b1e00..3f860d7 100644
--- a/Juick/Model/User.m
+++ b/Juick/Model/User.m
@@ -31,7 +31,7 @@
if (statusCode == 400) {
callback(YES);
} else {
- [manager.requestSerializer setAuthorizationHeaderFieldWithUsername:nil password:nil];
+ [manager.requestSerializer setAuthorizationHeaderFieldWithUsername:@"" password:@""];
callback(NO);
}
}];}