Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
09c179f1
Commit
09c179f1
authored
Oct 17, 2018
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate setupConnectionInfo(currentServer)
parent
dbfcde7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
LoginOptionsPresenter.kt
...cation/loginoptions/presentation/LoginOptionsPresenter.kt
+0
-3
No files found.
app/src/main/java/chat/rocket/android/authentication/loginoptions/presentation/LoginOptionsPresenter.kt
View file @
09c179f1
...
@@ -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
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment