- Fix Token reset

This commit is contained in:
giuseppenuc committed 2016-04-07 10:46:30 +02:00
1 parent 878dbdf274
commit f26b694a14
2 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ static bool isFirstAccess = YES;
[[[self class] currentUser] populateObjectFromJSON:[responseObject objectForKey:@"user"]];
[[[self class] currentUser] saveLocally];
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:[[self class] currentUser]];
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:nil];
if (success) {
success([[self class] currentUser]);