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( ...@@ -72,7 +72,6 @@ class LoginOptionsPresenter @Inject constructor(
credentialToken = oauthToken credentialToken = oauthToken
credentialSecret = oauthSecret credentialSecret = oauthSecret
loginMethod = AuthenticationEvent.AuthenticationWithOauth loginMethod = AuthenticationEvent.AuthenticationWithOauth
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_OAUTH) doAuthentication(TYPE_LOGIN_OAUTH)
} }
...@@ -80,7 +79,6 @@ class LoginOptionsPresenter @Inject constructor( ...@@ -80,7 +79,6 @@ class LoginOptionsPresenter @Inject constructor(
setupConnectionInfo(currentServer) setupConnectionInfo(currentServer)
credentialToken = casToken credentialToken = casToken
loginMethod = AuthenticationEvent.AuthenticationWithCas loginMethod = AuthenticationEvent.AuthenticationWithCas
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_CAS) doAuthentication(TYPE_LOGIN_CAS)
} }
...@@ -88,7 +86,6 @@ class LoginOptionsPresenter @Inject constructor( ...@@ -88,7 +86,6 @@ class LoginOptionsPresenter @Inject constructor(
setupConnectionInfo(currentServer) setupConnectionInfo(currentServer)
credentialToken = samlToken credentialToken = samlToken
loginMethod = AuthenticationEvent.AuthenticationWithSaml loginMethod = AuthenticationEvent.AuthenticationWithSaml
setupConnectionInfo(currentServer)
doAuthentication(TYPE_LOGIN_SAML) 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