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

Commit 331a08a

Browse files
committed
Remove facebook username. Fixes #59.
1 parent 7ca6bd7 commit 331a08a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Providers/Facebook/SimpleAuthFacebookProvider.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ - (NSDictionary *)dictionaryWithRemoteAccount:(NSDictionary *)remoteAccount syst
123123

124124
// User info
125125
NSMutableDictionary *user = [NSMutableDictionary new];
126-
user[@"nickname"] = remoteAccount[@"username"];
127126
if (remoteAccount[@"email"]) {
128127
user[@"email"] = remoteAccount[@"email"];
129128
}

Providers/FacebookWeb/SimpleAuthFaceBookWebProvider.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ - (NSDictionary *)dictionaryWithAccount:(NSDictionary *)account accessToken:(NSD
161161

162162
// User info
163163
NSMutableDictionary *user = [NSMutableDictionary new];
164-
user[@"nickname"] = account[@"username"];
165164
if (account[@"email"]) {
166165
user[@"email"] = account[@"email"];
167166
}

0 commit comments

Comments
 (0)