- Fix check currentUser

This commit is contained in:
giuseppenuc committed 2016-02-05 11:36:46 +01:00
1 parent 6935f77852
commit fef5277f7f
5 files changed
+60 -51

No files matched your search

+8
View File
@@ -102,6 +102,14 @@ static bool isFirstAccess = YES;
[self resetObject];
}
- (BOOL) isValidUser {
if(self.username && self.password && [self isValidPassword:[self password]]){
return YES;
}
return NO;
}
#pragma mark PNObjectSubclassing Protocol
+ (NSDictionary *)objcetMapping {