Hotfix login (#16)

This commit is contained in:
Mikołaj Pich 2017-08-12 20:33:09 +02:00 committed by RicomenPL
parent 344ba537fd
commit ba7c8f0b1e

View File

@ -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();
}
}