From 04ccc72e970fa859e247677b99b624b0c7b018df Mon Sep 17 00:00:00 2001 From: thetric <19861998+thetric@users.noreply.github.com> Date: Wed, 9 Oct 2019 20:15:32 +0200 Subject: [PATCH] fix(connector/domparser): correct login page url see #17 --- .../connector/domparser/impl/webclient/OkHttpIliasWebClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/thetric/iliasdownloader/connector/domparser/impl/webclient/OkHttpIliasWebClient.kt b/src/main/kotlin/com/github/thetric/iliasdownloader/connector/domparser/impl/webclient/OkHttpIliasWebClient.kt index 79a4eb2..fa6ef11 100644 --- a/src/main/kotlin/com/github/thetric/iliasdownloader/connector/domparser/impl/webclient/OkHttpIliasWebClient.kt +++ b/src/main/kotlin/com/github/thetric/iliasdownloader/connector/domparser/impl/webclient/OkHttpIliasWebClient.kt @@ -21,7 +21,7 @@ class OkHttpIliasWebClient( ) : IliasWebClient { private val client: OkHttpClient private val cookieManager: CookieManager = CookieManager() - private val loginPage: String = "${iliasBaseUrl}login.php" + private val loginPage: String = "${iliasBaseUrl}ilias.php?lang=en&cmd=post&cmdClass=ilstartupgui&cmdNode=w9&baseClass=ilStartUpGUI&rtoken=" private val logoutPage: String = "${iliasBaseUrl}logout.php" private val log = KotlinLogging.logger {}