Added a bug to not have the page reload when wrong credentials have been entered; substitution URL changed in last commit

This commit is contained in:
Deniz Düzgören
2019-09-23 17:52:51 +02:00
parent fd40115549
commit 7243d35cf2
@@ -23,7 +23,8 @@ internal class LoginWebViewClient(private val successListener: OnLoginSuccessLis
super.onPageStarted(view, url, favicon) super.onPageStarted(view, url, favicon)
if (url != "https://307.joomla.schule.bremen.de/index.php/component/users/profile?Itemid=171" if (url != "https://307.joomla.schule.bremen.de/index.php/component/users/profile?Itemid=171"
&& url != "https://307.joomla.schule.bremen.de/index.php/component/users/#top") { && url != "https://307.joomla.schule.bremen.de/index.php/component/users/#top"
&& url != "https://307.joomla.schule.bremen.de/index.php/component/users/?task=user.login&Itemid=171") {
reloadLoginPage(webView = view) reloadLoginPage(webView = view)
} }
} }