mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
[Login] remove trim on password
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ class LoginRootPresenter @Inject constructor(private val authenticationService:
|
|||||||
loggedInState.value = LoggedInState.LoggingIn
|
loggedInState.value = LoggedInState.LoggingIn
|
||||||
//TODO rework the setHomeserver flow
|
//TODO rework the setHomeserver flow
|
||||||
authenticationService.setHomeserver(homeserver)
|
authenticationService.setHomeserver(homeserver)
|
||||||
authenticationService.login(formState.login.trim(), formState.password.trim())
|
authenticationService.login(formState.login.trim(), formState.password)
|
||||||
.onSuccess { sessionId ->
|
.onSuccess { sessionId ->
|
||||||
loggedInState.value = LoggedInState.LoggedIn(sessionId)
|
loggedInState.value = LoggedInState.LoggedIn(sessionId)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user