[Login] remove trim on password

This commit is contained in:
ganfra
2023-03-14 17:06:01 +01:00
parent 3bbb857a19
commit 5ba4c2618e

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)
}