Update api login information with user input

This commit is contained in:
davide
2022-07-25 15:20:36 +02:00
parent da4bdd2355
commit b14b34441b
4 changed files with 14 additions and 11 deletions

View File

@ -203,13 +203,7 @@ class LoginActivity() : AppCompatActivity(), DIAware {
} else {
showProgress(true)
settings.putString("url", url)
settings.putString("login", login)
settings.putString("httpUserName", httpLogin)
settings.putString("password", password)
settings.putString("httpPassword", httpPassword)
settings.putBoolean("isSelfSignedCert", isWithSelfSignedCert)
repository.refreshLoginInformation()
repository.refreshLoginInformation(url, login, password, httpLogin, httpPassword, isWithSelfSignedCert)
if (this@LoginActivity.isNetworkAvailable(this@LoginActivity.findViewById(R.id.loginForm))) {
CoroutineScope(Dispatchers.IO).launch {