- Add isAuthenticated method
- Fix vari
This commit is contained in:
1 parent
963a3b6e2f
commit
fab098e9ab
5 files changed
+38
-26
No files matched your search
@@ -293,14 +293,7 @@ static bool isFirstAccess = YES;
|
||||
|
||||
[AFOAuthCredential storeCredential:_currentOauthCredential withIdentifier:PNObjectServiceCredentialIdentifier];
|
||||
[_manager.requestSerializer setAuthorizationHeaderFieldWithCredential:_currentOauthCredential];
|
||||
PNUser *user = [PNUser currentUser];
|
||||
|
||||
[user setEmail:email];
|
||||
[user setPassword:password];
|
||||
[user setConfirmPassword:password];
|
||||
|
||||
[user saveLocally];
|
||||
|
||||
|
||||
if (success) {
|
||||
success(YES);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user