Skip to content

Commit

Permalink
Update LOGIN_URL for linux in LoginController.java
Browse files Browse the repository at this point in the history
As indicated in a post by @MagicFab : francescotescari#23 (comment)
  • Loading branch information
tkapias authored Dec 2, 2021
1 parent 256679c commit 5c940c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.Locale;

public class LoginController extends DefaultController {
private static final String LOGIN_URL = "https://account.xiaomi.com/pass/serviceLogin?sid=passport&json=false&passive=true&hidden=false&_snsDefault=facebook&_locale=" + Locale.getDefault().getLanguage().toLowerCase();
private static final String LOGIN_URL = "https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&json=false&passive=true&hidden=false&_snsDefault=facebook&checkSafePhone=true&_locale=" + Locale.getDefault().getLanguage().toLowerCase();
private static boolean loggedIn = false;
private static Thread loginThread = null;
@FXML
Expand Down

0 comments on commit 5c940c2

Please sign in to comment.