forked from github/wulkanowy-mirror
Hotfix login (#16)
This commit is contained in:
parent
344ba537fd
commit
ba7c8f0b1e
@ -86,7 +86,7 @@ public class Login extends Vulcan {
|
|||||||
throw new AccountPermissionException();
|
throw new AccountPermissionException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!html.select(".welcome").text().equals("Dzień dobry!")) {
|
if (!html.select("title").text().equals("Uonet+")) {
|
||||||
throw new LoginErrorException();
|
throw new LoginErrorException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user