Commit 09c179f1 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Remove duplicate setupConnectionInfo(currentServer)

parent dbfcde7e
......@@ -72,7 +72,6 @@ class LoginOptionsPresenter @Inject constructor(
credentialToken = oauthToken
credentialSecret = oauthSecret
loginMethod = AuthenticationEvent.AuthenticationWithOauth
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_OAUTH)
}
......@@ -80,7 +79,6 @@ class LoginOptionsPresenter @Inject constructor(
setupConnectionInfo(currentServer)
credentialToken = casToken
loginMethod = AuthenticationEvent.AuthenticationWithCas
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_CAS)
}
......@@ -88,7 +86,6 @@ class LoginOptionsPresenter @Inject constructor(
setupConnectionInfo(currentServer)
credentialToken = samlToken
loginMethod = AuthenticationEvent.AuthenticationWithSaml
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_SAML)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment