summaryrefslogtreecommitdiff
path: root/Juick/Model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-28 21:16:56 +0300
committerGravatar Vitaly Takmazov2016-08-28 21:16:56 +0300
commit49cd38a2ef9ad9c9aa08bdb3ff2baafb6abede89 (patch)
treecda41995d9505b04460cadf4345b7b8fd3b13f34 /Juick/Model
parent188d8e4ea870d1a6c8edd5a9b323742804badeba (diff)
drop iOS6 support
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);
}
}];}