From ba7c8f0b1ef4e8df777891b94b86bbfa9694ecbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sat, 12 Aug 2017 20:33:09 +0200 Subject: [PATCH] Hotfix login (#16) --- app/src/main/java/io/github/wulkanowy/api/login/Login.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/wulkanowy/api/login/Login.java b/app/src/main/java/io/github/wulkanowy/api/login/Login.java index 88562425..4677e682 100644 --- a/app/src/main/java/io/github/wulkanowy/api/login/Login.java +++ b/app/src/main/java/io/github/wulkanowy/api/login/Login.java @@ -86,7 +86,7 @@ public class Login extends Vulcan { throw new AccountPermissionException(); } - if (!html.select(".welcome").text().equals("DzieƄ dobry!")) { + if (!html.select("title").text().equals("Uonet+")) { throw new LoginErrorException(); } }