Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit 286e74a

Browse files
committed
Use non-nil facebook permissions by default in PFLogInViewController.
1 parent 15f55e3 commit 286e74a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ParseUI/Classes/LogInViewController/PFLogInViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ - (void)_commonInit {
103103
self.modalPresentationStyle = UIModalPresentationFormSheet;
104104
_fields = PFLogInFieldsDefault;
105105

106+
_facebookPermissions = @[ @"public_profile" ];
107+
106108
if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]) {
107109
self.automaticallyAdjustsScrollViewInsets = NO;
108110
}

0 commit comments

Comments
 (0)