Skip to content

Commit 6d71955

Browse files
committed
Revert "Fixed Facebook authentication (#217)"
This reverts commit ca50399.
1 parent ca50399 commit 6d71955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/xyz/gianlu/librespot/core/FacebookAuthenticator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private void authData(@NotNull String json) {
8080

8181
JsonObject data = obj.getAsJsonObject("credentials");
8282
credentials = Authentication.LoginCredentials.newBuilder()
83-
.setUsername(data.get("username").getAsString())
83+
.setUsername(data.get("authUsername").getAsString())
8484
.setTyp(Authentication.AuthenticationType.forNumber(data.get("auth_type").getAsInt()))
8585
.setAuthData(ByteString.copyFrom(Base64.getDecoder().decode(data.get("encoded_auth_blob").getAsString())))
8686
.build();

0 commit comments

Comments
 (0)