[Login] remove trim on password

This commit is contained in:
ganfra 2023-03-14 17:06:01 +01:00
parent 2e4308642f
commit 944d4d6ba0

View file

@ -71,7 +71,7 @@ class LoginRootPresenter @Inject constructor(private val authenticationService:
loggedInState.value = LoggedInState.LoggingIn
//TODO rework the setHomeserver flow
authenticationService.setHomeserver(homeserver)
authenticationService.login(formState.login.trim(), formState.password.trim())
authenticationService.login(formState.login.trim(), formState.password)
.onSuccess { sessionId ->
loggedInState.value = LoggedInState.LoggedIn(sessionId)
}